This document is archived and information here might be outdated.  Recommended version.


IRoleStore Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Server)  

IRoleStore Interface

An interface to access the role repository.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method AddRole Add a new role to the role store.
Method AddUsersToRole Adds users to a role.
Method AssignRoles Assigns roles to a user.
Method DeleteRole Deletes a role from role store.
Method GetAllRoles Returns a maxCount of roles from the role store that match a particular filter.
Method GetAllRolesPaged Returns a pageSize of roles from the role store from the startIndex.
Method GetRole Returns a role from the role store.
Method GetRolesForUser Returns roles assigned to a user that match a filter upto a maxCount number.
Method GetTotalRoles Returns the total number of roles in the role store.
Method GetUsersWithinRole Returns users within a role that match a filter upto a maxCount number.
Method Initialize Connects to a role store.
Method IsReadOnly Tests the connection to the role store.
Method RemoveRoles Removes roles assigned to a user.
Method RemoveUsersFromRole Removes users from a role.
Method TestConnection Tests the connection to the role store.
Method UpdateRole Update an existing role in the role store.