This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IP > IPermissionsManager Interface (ArcObjects .NET 10.4 SDK) |
Provides managerial access to the Permissions Store.
IPermissionsManager provides methods to query the state of Allow and Deny rules on operations on ArcGIS Server resources.
The IPermissionsManager interface can be obtained by a query interface with the IServerObjectManager interface.
>A list of security model concepts is useful here.
Permissions are assigned in a Continuous Inheritance model. A child resource inherits permissions from its parent resource and the child can be changed to differ from the parent. Changing the permission on the parent for a specific user/role restores inheritance to match the parent recursively; all children will be changed to match the parent.
Use the IPermissionsManager interface when your application needs to query the state of role-based permissions on an ArcGIS Server.
If your application needs to connect to the server to perform changes to the role-based ArcGIS Server security model, use the IPermissionsAdmin interface instead.
Description | ||
---|---|---|
CheckForDescendentsWithDifferentPermissions | Checks whether the specified principal has different permissions among the descendents of the specified parent resource/operation combination. | |
CheckPermission | Checks whether the specified principal has permission to perform the given operation on the indicated resource. | |
GetPrincipalsWithPermissionOnResource | Enumerates all principals having permission to perform the specified operation on the given resource. |
CoClasses and Classes | Description |
---|---|
ServerObjectManager | The ServerObjectManager object which creates ServerContext, ServerObjectConfigurationInfo and ServerObjectTypeInfo objects. |
The following state of the role-based security model of the ArcGIS Server is exposed by the methods of IPermissionsAdmin:
Query role-based ArcGIS Server security: