This document is archived and information here might be outdated.  Recommended version.


IPermissionsManager.CheckForDescendentsWithDifferentPermissions Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IP > IPermissionsManager Interface > IPermissionsManager.CheckForDescendentsWithDifferentPermissions Method
ArcGIS Developer Help

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
);
[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

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