This document is archived and information here might be outdated. Recommended version. |
Grants permission to the specified principal to perform the given operation on the indicated resource.
[Visual Basic .NET] Public Sub AllowPermission ( _ ByVal Principal As String, _ ByVal resource As String, _ ByVal operation As String _ )
[C#] public void AllowPermission ( string Principal, string resource, string operation );
[C++]
HRESULT AllowPermission(
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
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 AllowPermissions method to allow a principal access to perform any operation on a specified resource. Once the allow permission has been granted, it can be removed explicitly using the DenyPermissions method or implicitly through the continuous inheritance model.