This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IP > IPermissionsAdmin2 Interface (ArcObjects .NET 10.5 SDK) |
Provides administrative access to the Permissions Store.
IPermissionsAdmin2 provides methods to Allow and Deny operations on ArcGIS for Server resources and to retrieve all principals with access to resources. Additionally, it provides a method to remove all permissions on all resources for a particular principal.
The IPermissionsAdmin2 interface can be obtained by a query interface with the IServerObjectAdmin interface.
Use the IPermissionsAdmin2 interface when your application needs to clear all permissions on all resources for a specific principal.
If your application is connecting to the server only to retrieve information about the current state of permissions on ArcGIS for Server GIS resources, use the IPermissionsManager interface instead.
Description | ||
---|---|---|
AllowPermission | Grants permission to the specified principal to perform the given operation on the indicated resource. | |
CleanPermissions | Removes all permissions for a particular principal. | |
DenyPermission | Revokes permission from the specified principal to perform the given operation on the indicated resource. | |
GetAllPrincipals | Enumrates all princiapls in the Permissions Store. |
Interfaces | Description |
---|---|
IPermissionsAdmin | Provides administrative access to the Permissions Store. |
CoClasses and Classes | Description |
---|---|
ServerObjectAdmin | The ServerObjectAdmin object which administrates the GIS Server. |
The following administration functionality of the ArcGIS Server is exposed by the methods of IPermissionsAdmin2:
Administer role-based ArcGIS Server security:
Get information about the ArcGIS Security mode: