## Uses of Class
com.sas.lsaf.security.role.RoleDescriptor

- Packages that use RoleDescriptor
  Package | Description
  --- | ---
  com.sas.lsaf.security.role | Service and class definitions for manipulating and creating roles, their availability in contexts, and their membership lists.

- - ### Uses of RoleDescriptor in com.sas.lsaf.security.role

    Subclasses of RoleDescriptor in com.sas.lsaf.security.role
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Role` | A role is a logical grouping of privileges.

    Methods in com.sas.lsaf.security.role that return RoleDescriptor
    Modifier and Type | Method | Description
    --- | --- | ---
    `RoleDescriptor` | RoleService.`getRoleDescriptorById​(java.lang.String roleId)` | Gets a role descriptor given its identifier.
    `RoleDescriptor` | RoleService.`getRoleDescriptorByName​(java.lang.String contextId, java.lang.String name)` | Gets a defined role descriptor by specifying its context and name.

    Methods in com.sas.lsaf.security.role that return types with arguments of type RoleDescriptor
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Set<RoleDescriptor>` | RoleService.`getInheritedRoleDescriptorsByRole​(java.lang.String roleId)` | Gets all inherited roles across contexts that are associated with the specified role.
    `java.util.Set<RoleDescriptor>` | RoleService.`getRoleDescriptorsByContext​(java.lang.String contextId)` | Gets the lightweight representations of all roles that exist at the specified context.
    `java.util.Set<RoleDescriptor>` | RoleService.`getRoleDescriptorsByContextAndPrincipal​(java.lang.String contextId, Principal member)` | Gets all of the roles at the specified context that the specified principal is a member of.
    `java.util.Set<RoleDescriptor>` | RoleService.`getRoleDescriptorsByContextAndPrivilege​(java.lang.String contextId, java.lang.String scopedPrivilegeId)` | Gets all of the roles at a given context that include the specified privilege.