RoleProxy Methods CelloSaaS API Documentation
The RoleProxy type exposes the following members.
Methods

  NameDescription
Public methodStatic memberAddRole(Role)
Adds a new role to the system.
Public methodStatic memberAddRole(Role, String)
Adds a new role to the system.
Public methodStatic memberAddRole(String, String, String)
Adds a new role to the system.
Public methodStatic memberAddRole(String, String, String, String)
Adds a new role to the system.
Public methodStatic memberAddRole(String, String, String,  String )
Adds a new role to the system.
Public methodStatic memberAddUsersToRole
Assign many users to the given role
Public methodStatic memberAddUserToRoles(String,  String )
Assign many roles to the given user
Public methodStatic memberAddUserToRoles(String,  String , String)
Assign many roles to the given user
Public methodStatic memberCopyAllRolesAndPrivilegesFromParent
Copies roles and privileges from Parent tenant
Public methodStatic memberDeleteRole
Deactivates the specified role in the system.
Public methodStatic memberDeleteUserRoleAssignedByTenant
Deletes the user role tenant mapping that has been assigned by the role assigning tenant for the userid and the roles
Public methodStatic memberGetAllTenantRoleDetails
Get all roles created by the given tenant
Public methodStatic memberGetGlobalRoleDetails
Get active global role details
Public methodStatic memberGetGlobalRolesByTenant
Gets the global roles created by tenant.
Public methodStatic memberGetRoleDetailsByRoleId
Fetchs the role details for role Identifier
Public methodStatic memberGetRolesByServiceAdminUser
Gets the roles by service admin user.
Public methodStatic memberGetRolesByServiceIds
Get all roles for the given serviceIds
Public methodStatic memberGetTenantRoleDetails
Get active roles created by the given tenant
Public methodStatic memberGetUserRoles(String)
Get roles assigned to the given user.
Public methodStatic memberGetUserRoles(String, String)
Get roles assigned to the given user.
Public methodStatic memberGetUserRolesForTenant(String, String)
Gets the tenant roles for the given user
Public methodStatic memberGetUserRolesForTenant(String, String, String)
Gets the tenant roles for the given user
Public methodStatic memberPermanentDeleteUserRole
Removes the given roles from the user
Public methodStatic memberSearchRoleDetails
Searches the role details based on the Search Condition parameters
Public methodStatic memberSearchRolesInCurrentTenant
Search active role details in current tenant
Public methodStatic memberUpdateRole(Role, String)
Updates the given role details
Public methodStatic memberUpdateRole(String, String, String)
Updates the given role details
Public methodStatic memberUpdateUserRoles(String,  String )
This method is used to update user roles. New role Identifier for user then insert role to user. Previous user role is not available in the current list then remove role from user.
Public methodStatic memberUpdateUserRoles(String,  String ,  String )
This method is used to update user roles. New role Identifier for user then insert role to user. Previous user role is not available in the current list then remove role from user.
Back to Top
See Also