Checks whether the specified principal has permission to perform the given operation on the indicated resource.
[Visual Basic .NET] Public Function CheckPermission ( _ ByVal Principal As String, _ ByVal resource As String, _ ByVal operation As String _ ) As Boolean
[C#] public bool CheckPermission ( string Principal, string resource, string operation );
[C++]
HRESULT CheckPermission(
BSTR Principal,
BSTR resource,
BSTR operation,
VARIANT_BOOL* pbRes
);
[C++]Parameters
Principal [in] Principal is a parameter of type BSTR resource [in] resource is a parameter of type BSTR operation [in] operation is a parameter of type BSTR pbRes [out, retval] pbRes is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
Use the CheckPermissions method to query the server object manager for whether the given roles have permissions to perform all operations on an indicated resource.