This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IP > IPermissionsManager Interface > IPermissionsManager.CheckForDescendentsWithDifferentPermissions Method (ArcObjects .NET 10.4 SDK) |
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
Use the CheckForDescendentsWithDifferentPermissions method to query the server object manager as to whether the indicated resource has children that have permissions with different permissions.