IAdmAllowedOperationsInfo
The IAdmAllowedOperationsInfo interface is used to determine the operations that can be performed on a directory object by the user whose credentials were used to bind to that object.
Methods
-
Method
-
Description
-
CanBeDeleted()
-
Returns a value indicating whether the user has the permissions to delete the directory object.
Properties
-
Property
-
Description
-
CanBeMoved
-
Gets a value indicating whether the user has the permissions to move the directory object.
-
CanBeRenamed
-
Gets a value indicating whether the user has the permissions to rename the directory object.
-
ObjectTypesAllowedToCreate
-
Gets the object types that the user can create under the directory object.
-
PropertiesAllowedToModify
-
Gets the names of the properties the user can modify for the directory object.
-
GrantedExtendedRights
-
Gets the GUIDs of the extended rights granted over the directory object to the user.
-
ObjectTypesAllowedToRestore
-
Gets the object types the user can restore under the directory object.
Details
CanBeDeleted()
Returns a value indicating whether the user has the permissions to delete the directory object.
bool CanBeDeleted(bool deleteAsSubtree)
Parameters
- deleteAsSubtree – specifies whether to check the permissions for the Delete Subtree operation. If set to
falsethe check is performed for the Delete Leaf operation.
CanBeMoved
Gets a value indicating whether the user has the permissions to move the directory object.
- Type:
- bool
- Access:
- Read-only
CanBeRenamed
Gets a value indicating whether the user has the permissions to rename the directory object.
- Type:
- bool
- Access:
- Read-only
ObjectTypesAllowedToCreate
Gets the object types that the user can create under the directory object.
- Type:
- string[]
- Access:
- Read-only
PropertiesAllowedToModify
Gets the names of the properties the user can modify for the directory object.
- Type:
- string[]
- Access:
- Read-only
GrantedExtendedRights
Gets the GUIDs of the extended rights granted over the directory object to the user. For information on extended rights supported by Adaxes, see the ExtendedRights class.
- Type:
- string[]
- Access:
- Read-only
ObjectTypesAllowedToRestore
Gets the object types that the user can restore under the directory object.
- Type:
- Object
- Access:
- Read-only
Requirements
Minimum required version: 2023