IPrivilegeService Members CelloSaaS API Documentation
The IPrivilegeService type exposes the following members.
Methods

Name Description
Public method AddPrivileges
Add privilege details to the system.
Public method AddPrivilegesToRole
Add role privilege details
Public method AddPrivilegeToRole
Add privilege details to role.
Public method DeletePrivilegesForRole
Delete privileges for role
Public method DeleteRolePrivilege
Delete role privilege details
Public method GetAllPrivileges
Get all privilege defined in the system.
Public method GetCurrentUsersAssignablePrivilegesForRole
Gets offeredPrivilege for given role.
Public method GetDefaultAssignablePrivilegesForRole
Get assignable privileges for given role.
Public method GetPrivilege
Get privilege details for a particular privilege identifier.
Public method GetPrivilegeNames
Gets the privilege identifiers for the given roles
Public method GetPrivilegeNamesOfCurrentUser
Get list of privilege identifiers for a current user
Public method GetPrivileges(  String  )
Get privilege details for array of privilege ids
Public method GetPrivileges(String, String)
Get all privilege details based on the privilege search name and tenant code
Public method GetPrivilegesbyFeatureIds(  String  )
Gets the privileges by feature ids.
Public method GetPrivilegesbyFeatureIds(  String  , String)
Gets the privileges by feature ids.
Public method GetPrivilegesbyModuleIds
Gets the privileges by module ids.
Public method GetPrivilegesByServiceIds
Gets privilege by serviceIds
Public method GetPrivilegesForRoles(String, String  )
Get Role Privilege details
Public method GetPrivilegesForRoles(String, String  , String)
Get Privilege details for roles
Public method GetRolePrivilegeCount(String, String  )
Gets the role privilege count.
Public method GetRolePrivilegeCount(  String  , String  )
Gets the role privilege count.
Public method GetRolePrivilegesForPrivileges(String, String  )
Gets the role privileges for privileges.
Public method GetRolePrivilegesForPrivileges(  String  , String  )
Gets the role privileges for privileges for tenants.
Public method SavePrivilegesToRole
Add/update privileges to role
Public method UpdateRolePrivilege
Update role privilege details
Back to Top
See Also