RoleData Class

Represents Role enterprise data.

Definition

Namespace: KeeperSecurity.Enterprise
Assembly: KeeperSdk (in KeeperSdk.dll) Version: 1.1.0
C#
public class RoleData : EnterpriseDataPlugin, IRoleData, 
	IRoleDataManagement
Inheritance
Object    EnterpriseDataPlugin    RoleData
Implements
IRoleData, IRoleDataManagement

Constructors

RoleDataInitializes a new instance of the RoleData class

Properties

RoleCount Gets the number of all roles in the enterprise.
Roles Get a list of all roles in the enterprise

Methods

AddTeamToRole Adds a team to a role
AddUserToAdminRole Adds a user to Admin role
AddUserToRole Add a user to a role
CreateRole Creates Enterprise Role
DeleteRole Deletes Enterprise Role
GetAdminPermissions 
GetEnforcementsForRole Gets a list of role enforcements for specified role.
GetManagedNodes Gets a list of all managed nodes in the enterprise
GetPrivilegesForRoleAndNode Gets a list of privileges for specified role and node
GetRoleKey Gets role key.
GetRolePermissions 
GetRolesForTeam Gets a list of role IDs for specified team.
GetRolesForUser Gets a list of role IDs for specified user.
GetTeamsForRole Gets a list of team UIDs for specified role.
GetUsersForRole Gets a list of user IDs for specified role.
RemoveTeamFromRole Removes a team from a role
RemoveUserFromRole Removes a user from a role
TryGetRole Gets the enterprise role assocoated with the specified ID.

See Also