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

- Packages that use Role
  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 Role in com.sas.lsaf.security.role

    Methods in com.sas.lsaf.security.role that return Role
    Modifier and Type | Method | Description
    --- | --- | ---
    `Role` | RoleService.`addInheritedRole​(java.lang.String contextId, java.lang.String inheritedRoleId, java.util.Set<Principal> members)` | Adds an inherited role at the specified context.
    `Role` | RoleService.`createRole​(java.lang.String contextId, java.lang.String name, java.lang.String description, java.util.Set<java.lang.String> scopedPrivilegeIds, java.util.Set<Principal> members)` | Creates a defined role at the specified context.
    `Role` | RoleService.`getRoleById​(java.lang.String roleId)` | Get a role given its identifier.
    `Role` | RoleService.`getRoleByName​(java.lang.String contextId, java.lang.String name)` | Gets a defined role by specifying its context and name.
    `Role` | RoleService.`updateRole​(Role role)` | Updates the name, description, privileges or members of the specified role.

    Methods in com.sas.lsaf.security.role that return types with arguments of type Role
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Set<Role>` | RoleService.`getRolesByContext​(java.lang.String contextId)` | Gets all of the roles that exist at the specified context.
    `java.util.Set<Role>` | RoleService.`getRolesByIds​(java.util.Set<java.lang.String> roleIds)` | Gets set of roles given their identifiers.

    Methods in com.sas.lsaf.security.role with parameters of type Role
    Modifier and Type | Method | Description
    --- | --- | ---
    `Role` | RoleService.`updateRole​(Role role)` | Updates the name, description, privileges or members of the specified role.