ArcObjects Library Reference (Server)  

IPermissionsManager.CheckForDescendentsWithDifferentPermissions Method

Checks whether the specified principal has different permissions among the descendents of the specified parent resource/operation combination.

[Visual Basic .NET]
Public Function CheckForDescendentsWithDifferentPermissions ( _
    ByVal Principal As String, _
    ByVal resource As String, _
    ByVal operation As String _
) As Boolean
[C#]
public bool CheckForDescendentsWithDifferentPermissions (
    string Principal,
    string resource,
    string operation
);
[C++]
HRESULT CheckForDescendentsWithDifferentPermissions(
  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 CheckForDescendentsWithDifferentPermissions method to query the server object manager as to whether the indicated resource has children that have permissions with different permissions.

See Also

IPermissionsManager Interface