Revokes permission from the specified principal to perform the given operation on the indicated resource.
[Visual Basic .NET] Public Sub DenyPermission ( _ ByVal Principal As String, _ ByVal resource As String, _ ByVal operation As String _ )
[C#] public void DenyPermission ( string Principal, string resource, string operation );
[C++]
HRESULT DenyPermission(
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
When using role-based security in ArcGIS Server, security for resources (GIS Services and folders containing GIS Services) is managed by allowing or denying a principal permissions for all operations on a resource.
Use the DenyPermissions method to deny a principal access to perform any operation on a specified resource. Once the permission has been revoked, it can be restored explicitly using the AllowPermissions method or implicitly through the continuous inheritance model.