User Rights Policy

You can use the User Rights policy related properties and methods to manage privileges such as logging on locally or replacing a process level token.

Note: Some of the following methods require the name of a privilege. These are described in IADsNTPolicy Privileges

Property/Method

Description

GetAccountPrivileges

Returns all privileges for a given account (User or Group)

GetAccountsWithPrivilege

Returns the names of all accounts (User or Group) that have a given privilege

RemoveAccountPrivilege

Removes a privilege from a User or Group

RemoveAccountPrivilegeEx

Removes the specified privileges from a User or Group

SetAccountPrivilege

Assigns a privilege to a User or Group

SetAccountPrivilegeEx

Assigns the specified privileges to a User or Group

 

See Also

 

 

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.