com.esri.arcgis.server
Interface IPermissionsAdmin

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IPermissionsAdmin2
All Known Implementing Classes:
IPermissionsAdmin2Proxy, IPermissionsAdminProxy, ServerObjectAdmin

public interface IPermissionsAdmin
extends java.io.Serializable

COM Interface 'IPermissionsAdmin'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriServer.olb'

Description: 'Provides administrative access to the Permissions Store.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID1d869ab1_db39_4cb8_9e95_a64ac2beb029
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void allowPermission(java.lang.String principal, java.lang.String resource, java.lang.String operation)
          Grants permission to the specified principal to perform the given operation on the indicated resource.
 void denyPermission(java.lang.String principal, java.lang.String resource, java.lang.String operation)
          Revokes permission from the specified principal to perform the given operation on the indicated resource.
 IEnumBSTR getAllPrincipals()
          Enumrates all princiapls in the Permissions Store.
 

Field Detail

IID1d869ab1_db39_4cb8_9e95_a64ac2beb029

static final int IID1d869ab1_db39_4cb8_9e95_a64ac2beb029
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

allowPermission

void allowPermission(java.lang.String principal,
                     java.lang.String resource,
                     java.lang.String operation)
                     throws java.io.IOException,
                            AutomationException
Grants permission to the specified principal to perform the given operation on the indicated resource.

Parameters:
principal - The principal (in)
resource - The resource (in)
operation - The operation (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

denyPermission

void denyPermission(java.lang.String principal,
                    java.lang.String resource,
                    java.lang.String operation)
                    throws java.io.IOException,
                           AutomationException
Revokes permission from the specified principal to perform the given operation on the indicated resource.

Parameters:
principal - The principal (in)
resource - The resource (in)
operation - The operation (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAllPrincipals

IEnumBSTR getAllPrincipals()
                           throws java.io.IOException,
                                  AutomationException
Enumrates all princiapls in the Permissions Store.

Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.