## Uses of Class
com.sas.lsaf.security.privilege.ScopedPrivilege

- Packages that use ScopedPrivilege
  Package | Description
  --- | ---
  com.sas.lsaf.security.privilege | Service and classes for identifying and using privileges in the system.
  com.sas.lsaf.security.role | Service and class definitions for manipulating and creating roles, their availability in contexts, and their membership lists.

- - ### Uses of ScopedPrivilege in com.sas.lsaf.security.privilege

    Fields in com.sas.lsaf.security.privilege declared as ScopedPrivilege
    Modifier and Type | Field | Description
    --- | --- | ---
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_ACL_PROPAGATION` | A scoped privilege enables a user to cascade permission changes.
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_CREATE_PROCESS_FLOWS` | A scoped privilege enables a user to create process flows within the repository.
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_ENABLE_VERSIONING` | A scoped privilege enables a user to enable versioning on unversioned files.
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_MANAGE_LOCKS` | A scoped privilege enables a user to create and manage locks on files.
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_MANAGE_MEMBERSHIP` | A scoped privilege enables a user to manage the memberships of the organization, projects and analyses.
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_MANAGE_PROCESS_FLOWS` | A scoped privilege enables a user to manage process flows owned by other users.
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_MANAGE_ROLES` | A scoped privilege enables a user to manage role definitions, role assignments and role memberships for the organization, projects and analyses.
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_MANAGE_SHARED_FOLDERS` | Allows users to manage shared folders within the repository.
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_MANAGE_STATE` | A scoped privilege enables a user to manage the `State` of contexts with the `State` capability.
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_MANAGE_STUDIES` | A scoped privilege enables a user to manage studies.
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_MANAGE_VERSIONING` | A scoped privilege enables a user to manage versioning of versioned files.
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_PERMANENTLY_DELETE` | A scoped privilege enables a user to permanently delete objects that were logically deleted by other users.
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_PROCESS_FLOW_ADMINISTRATION` | A scoped privilege enables a user to take ownership of process flows owned by other users.
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_RESTORE` | A scoped privilege enables a user to restore objects that were logically deleted by other users.
    `static ScopedPrivilege` | ScopedPrivileges.`PRIVILEGE_SIGN_FILE` | A scoped privilege enables a user to electronically sign files within the repository.

    Fields in com.sas.lsaf.security.privilege with type parameters of type ScopedPrivilege
    Modifier and Type | Field | Description
    --- | --- | ---
    `static java.util.Set<ScopedPrivilege>` | ScopedPrivileges.`ALL_SCOPED_PRIVILEGES` | The complete set of scoped privileges within the system.

    Methods in com.sas.lsaf.security.privilege that return types with arguments of type ScopedPrivilege
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Set<ScopedPrivilege>` | ScopedPrivilegeService.`getAvailablePrivileges()` | Gets the set of scoped privileges that are available for assignment.

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

    Methods in com.sas.lsaf.security.role that return types with arguments of type ScopedPrivilege
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Set<ScopedPrivilege>` | RoleDescriptor.`getPrivileges()` | Gets the privileges assigned to a role.

    Method parameters in com.sas.lsaf.security.role with type arguments of type ScopedPrivilege
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | RoleDescriptor.`setPrivileges​(java.util.Set<ScopedPrivilege> privileges)` | Sets the privileges assigned to a role.

    Constructor parameters in com.sas.lsaf.security.role with type arguments of type ScopedPrivilege
    Constructor | Description
    --- | ---
    `Role​(java.lang.String id, ObjectIdentity definedContext, ObjectIdentity assignedContext, java.lang.String name, java.lang.String description, long revision, java.util.Set<ScopedPrivilege> privileges, java.util.Set<Principal> members)` | It is not intended or recommended that the consumer of this API construct these objects.
    `RoleDescriptor​(java.lang.String id, ObjectIdentity definedContext, ObjectIdentity assignedContext, java.lang.String name, java.lang.String description, java.util.Set<ScopedPrivilege> privileges)` | It is not intended or recommended that the consumer of this API construct these objects.