com.esri.arcgis.server
Interface IPermissionsManager

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IPermissionsManagerProxy, ServerObjectManager

public interface IPermissionsManager
extends java.io.Serializable

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

Description: 'Provides managerial 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 IID05d95968_651a_4c97_b63e_d26f2bb0e97b
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 boolean checkForDescendentsWithDifferentPermissions(java.lang.String principal, java.lang.String resource, java.lang.String operation)
          Checks whether the specified principal has different permissions among the descendents of the specified parent resource/operation combination.
 boolean checkPermission(java.lang.String principal, java.lang.String resource, java.lang.String operation)
          Checks whether the specified principal has permission to perform the given operation on the indicated resource.
 IEnumBSTR getPrincipalsWithPermissionOnResource(java.lang.String resource, java.lang.String operation)
          Enumerates all principals having permission to perform the specified operation on the given resource.
 

Field Detail

IID05d95968_651a_4c97_b63e_d26f2bb0e97b

static final int IID05d95968_651a_4c97_b63e_d26f2bb0e97b
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

checkPermission

boolean checkPermission(java.lang.String principal,
                        java.lang.String resource,
                        java.lang.String operation)
                        throws java.io.IOException,
                               AutomationException
Checks whether the specified principal has permission to perform the given operation on the indicated resource.

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

getPrincipalsWithPermissionOnResource

IEnumBSTR getPrincipalsWithPermissionOnResource(java.lang.String resource,
                                                java.lang.String operation)
                                                throws java.io.IOException,
                                                       AutomationException
Enumerates all principals having permission to perform the specified operation on the given resource.

Parameters:
resource - The resource (in)
operation - The operation (in)
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.

checkForDescendentsWithDifferentPermissions

boolean checkForDescendentsWithDifferentPermissions(java.lang.String principal,
                                                    java.lang.String resource,
                                                    java.lang.String operation)
                                                    throws java.io.IOException,
                                                           AutomationException
Checks whether the specified principal has different permissions among the descendents of the specified parent resource/operation combination.

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