IAdmAllowedOperationsInfo
The IAdmAllowedOperationsInfo interface is used to determine the operations that can be performed on a directory object by the user whose credentials were specified for binding to the 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 types of the objects the user can create under the directory object.
-
PropertiesAllowedToModify
-
Gets names of the properties the user can modify for the directory object.
-
GrantedExtendedRights
-
Gets GUIDs of the extended rights granted over the directory object to the user.
-
ObjectTypesAllowedToRestore
-
Gets types of the objects 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
The deleteAsSubtree parameter specifies whether to check the permissions for the Delete Subtree operation. If set to false
the 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 types of the objects the user can create under the directory object.
- Type:
- string[]
- Access:
- Read-only
PropertiesAllowedToModify
Gets names of the properties the user can modify for the directory object.
- Type:
- string[]
- Access:
- Read-only
GrantedExtendedRights
Gets 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 types of the objects the user can restore under the directory object.
- Type:
- Object
- Access:
- Read-only
Requirements
Minimum required version: 2023