Interface IPdmAdmin
Gives access to the PDM administration.
Namespace: TopSolid.Pdm.Explorer.Automating
Assembly: TopSolid.Pdm.Explorer.Automating.dll
Syntax
[ServiceContract]
[AvailableSinceVersion(7, 11, 300, 80)]
public interface IPdmAdmin
Remarks
This interface is available since v7.10.0.0.
Properties
| Name | Description |
|---|---|
| IsAdmin | Tells whether the connected TopSolid user has PDM administration rights. |
| UserAccountId | Gets connected user account identifier. |
| UserName | Gets connected user account name. |
Methods
| Name | Description |
|---|---|
| ActivateUser(string) | Activates an inactive user. |
| ChangeUserPassword(string, string, string) | Sets the password of a user. |
| CreateUser(string, string, string, string, string) | Creates a new user. |
| DeactivateUser(string) | Deactivate an active user. |
| 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) | 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. |