com.esri.arcgis.server
Class IPermissionsAdmin2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.server.IPermissionsAdminProxy
          extended by com.esri.arcgis.server.IPermissionsAdmin2Proxy
All Implemented Interfaces:
IPermissionsAdmin, IPermissionsAdmin2, Externalizable, Serializable

public class IPermissionsAdmin2Proxy
extends IPermissionsAdminProxy
implements IPermissionsAdmin2, Serializable

Provides administrative access to the Permissions Store.

Description

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.

Remarks

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:

When To Use

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.

Product Availability

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

See Also:
Serialized Form

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

noncastable

public boolean noncastable
Constructor Detail

IPermissionsAdmin2Proxy

public IPermissionsAdmin2Proxy()

IPermissionsAdmin2Proxy

public IPermissionsAdmin2Proxy(Object obj)
                        throws IOException
Throws:
IOException

IPermissionsAdmin2Proxy

protected IPermissionsAdmin2Proxy(Object obj,
                                  String iid)
                           throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IPermissionsAdminProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IPermissionsAdminProxy
Throws:
IOException

cleanPermissions

public void cleanPermissions(String principal)
                      throws IOException,
                             AutomationException
Removes all permissions for a particular principal.

Remarks

Use the CleanPermissions method to delete all allow/deny rules from all resources associated with the specified principal.

Product Availability

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

Specified by:
cleanPermissions in interface IPermissionsAdmin2
Parameters:
principal - The principal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.