Interface IPdmAdmin
Gives access to the PDM administration.
Namespace: TopSolid.Kernel.Automating
Assembly: TopSolid.Kernel.Automating.dll
Syntax
[ServiceContract]
[AvailableSinceVersion(7, 6, 301, 160)]
public interface IPdmAdmin
Remarks
This interface is available since v7.6.301.160.
Properties
| Name | Description |
|---|---|
| IsAdmin | Tells whether the connected TopSolid user has PDM administration rights. |
| UserAccountId | Gets connected user account identifier. |
| UserName | Gets connected user name. |
| UserOldLogin | Gets connected user old login. |
Methods
| Name | Description |
|---|---|
| ActivateUser(string) | Activates an inactive user. |
| ChangeUserPassword(string, string, string) | When current client is admin, changes user password. |
| CreateUser(string, string, string, string, string) | Creates a new user. |
| DeactivateUser(string) | Deactivate an active user. |
| GetGroupsOfUsers() | Gets all the users groups. |
| GetUserEmailAddress(string) | Gets the e-mail address of a user. |
| GetUserGroupName(PdmObjectId, out string, out string) | Gets the name of a user group. |
| GetUserGroupUserAccountIds(PdmObjectId) | Gets the users account identifiers of a user group. |
| GetUserGroups(bool, bool) | OBSOLETE - Gets all the users groups. |
| GetUserName(string, out string, out string, out string) | Gets the name of a user. |
| GetUsers(bool, bool) | Gets all the users. |
| IsUserActive(string) | Tells whether a user is active. |
| SetUserEmailAddress(string, string) | Sets the e-mail address of a user. |
| SetUserName(string, string, string, string) | Sets the name of a user. |