|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.server.IPermissionsAdminProxy com.esri.arcgis.server.IPermissionsAdmin2Proxy
public class IPermissionsAdmin2Proxy
Provides administrative access to the Permissions Store.
IPermissionsAdmin2 provides methods to Allow and Deny operations on ArcGIS 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.
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:
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 Server GIS resources, use the IPermissionsManager interface instead.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IPermissionsAdmin2Proxy()
|
|
IPermissionsAdmin2Proxy(Object obj)
|
protected |
IPermissionsAdmin2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
cleanPermissions(String principal)
Removes all permissions for a particular principal. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.server.IPermissionsAdminProxy |
---|
allowPermission, denyPermission, getAllPrincipals |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.server.IPermissionsAdmin |
---|
allowPermission, denyPermission, getAllPrincipals |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IPermissionsAdmin2Proxy()
public IPermissionsAdmin2Proxy(Object obj) throws IOException
IOException
protected IPermissionsAdmin2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IPermissionsAdminProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IPermissionsAdminProxy
IOException
public void cleanPermissions(String principal) throws IOException, AutomationException
Use the CleanPermissions method to delete all allow/deny rules from all resources associated with the specified principal.
cleanPermissions
in interface IPermissionsAdmin2
principal
- The principal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |