Role
The Role class represents a user access role.
Syntax
public interface IRole
Methods
The Role class provides the following methods:
This method | Does this |
Adds a command right to the role. |
|
Adds a network application access right to the role. |
|
Adds a PAM application access right to the role. |
|
Adds an SSH application access right to the role. |
|
Adds a Windows application right to the role. |
|
Adds a Windows desktop right to the role. |
|
Adds a trustee to the role at the zone or computer level. |
|
VBScript interface to clear the custom attributes for this class. |
|
Commits changes to the role to Active Directory. |
|
Deletes the role from Active Directory. |
|
Returns all command rights added to the role. |
|
ICustomAttributeContainer GetCustomAttributeContainer |
.NET interface that returns the directory entry for the parent container object for the custom attributes for this class. |
Returns the collection of all network application access rights added to this role. |
|
Returns all PAM application access rights added to the role. |
|
Returns all SSH application access rights added to the role. |
|
Returns the collection of all Windows application rights added to this role. |
|
Returns the collection of all Windows desktop rights added to this role. |
|
Indicates whether the role is valid in a specified time period. |
|
Removes all rights from the role. |
|
Removes a specific command right from the role. |
|
Removes a specific PAM application right from the role. |
|
Removes a specific PAM application right from the role. |
|
Removes a specific SSH application right from the role. |
|
Removes a specific Windows application access right from the role. |
|
Removes a specific Windows desktop right from the role. |
|
Sets a day of the week on which the role is active or inactive. |
|
Sets a day and hour of the week for which the role is active or inactive. |
|
VBScript interface to set the custom attributes for this class. |
Properties
The Role class provides the following properties:
This property | Does this |
Determines whether the role allows local users. |
|
Gets or sets the time at which the role is active, in hex format. |
|
VBScript only: Gets or sets custom attributes for this class. |
|
Gets or sets the description of the role. |
|
Gets the GUID for this role. |
|
Indicates whether the role is readable. |
|
Indicates whether the role is writable. |
|
Gets or sets the name of the role. |
|
Gets or sets the system rights granted to the role. |
|
Gets the zone to which this role belongs. |