Click or drag to resize

IAclHierarchyItemAsync Interface

IT Hit WebDAV Classes Reference
Interface to be implemented by hierarchy items that support setting permissions (ACL).

Namespace:  ITHit.WebDAV.Server.Acl
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 11.3.10719
Syntax
public interface IAclHierarchyItemAsync : ICurrentUserPrincipalAsync, 
	IAccessControl, IHierarchyItemAsync, IHierarchyItemBaseAsync

public interface IAclHierarchyItemAsync : ICurrentUserPrincipalAsync, 
	IAccessControl, IHierarchyItemAsync, IHierarchyItemBaseAsync

The IAclHierarchyItemAsync type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleCreated
Gets the creation date of the item in repository expressed as the coordinated universal time (UTC).
(Inherited from IHierarchyItemBaseAsync.)
Public propertyCode exampleModified
Gets the last modification date of the item in repository expressed as the coordinated universal time (UTC).
(Inherited from IHierarchyItemBaseAsync.)
Public propertyCode exampleName
Gets the name of the item in repository.
(Inherited from IHierarchyItemBaseAsync.)
Public propertyCode examplePath
Unique item path in the repository relative to storage root.
(Inherited from IHierarchyItemBaseAsync.)
Top
Methods
  NameDescription
Public methodCode exampleCopyToAsync
Creates a copy of this item with a new name in the destination folder.
(Inherited from IHierarchyItemAsync.)
Public methodCode exampleDeleteAsync
Deletes this item.
(Inherited from IHierarchyItemAsync.)
Public methodGetAclAsync
Specifies the list of access control entries (ACEs), which define what principals are to get what privileges for this resource.
Public methodGetAclRestrictionsAsync
Defines the types of ACLs supported by this server, to avoid clients needlessly getting errors. When a client tries to set an ACL via the ACL method, the server may reject the attempt to set the ACL as specified.
Public methodGetCurrentUserPrincipalAsync
Retrieves currently logged in principal.
(Inherited from ICurrentUserPrincipalAsync.)
Public methodGetCurrentUserPrivilegeSetAsync
Retrieves the exact set of privileges (as computed by the server) granted to the currently authenticated HTTP user. Aggregate privileges and their contained privileges are listed. A user-agent can use the value of this property to adjust its user interface to make actions inaccessible (e.g., by graying out a menu item or button) for which the current principal does not have permission. This property is also useful for determining what operations the current principal can perform, without having to actually execute an operation.
Public methodGetGroupAsync
Retrieves a particular principal as being the "group" of the item. This property is commonly found on repositories that implement the Unix privileges model.
Public methodGetInheritedAclSetAsync
Contains a set of items that also control the access to this item. To have a privilege on an item, not only must the ACL on that item (specified in the ITHit.WebDAV.Server.Acl property of that item) grant the privilege, but so must the ACL of each items identified in the GetInheritedAclSetAsync property of that item. Effectively, the privileges granted by the current ACL are ANDed with the privileges granted by each inherited ACL.
Public methodGetItemsByPropertyAsync
Find all resources in the subtree which have either Group or Owner (defined by matchBy parameter) which identifies current user or group current user belongs to. For example, this report can return all of the resources in a collection hierarchy that are owned by the current user.
Public methodGetOwnerAsync
Retrieves a particular principal as being the "owner" of the item. Since the owner of a resource often has special access control capabilities (e.g., the owner frequently has permanent WriteAcl privilege), clients might display the resource owner in their user interface.
Public methodGetPrincipalCollectionSetAsync
Retrieves a set of root collections that contain the principals that are available on the server that implements this resource. It can be used to retrieve the [!:IHierarchyItemAsync.Name] properties of all principals on that server, thereby yielding human-readable names for each principal that could be displayed in a user interface.
Public methodCode exampleGetPropertiesAsync
Gets values of all properties or selected properties for this item.
(Inherited from IHierarchyItemAsync.)
Public methodCode exampleGetPropertyNamesAsync
Gets names of all properties for this item.
(Inherited from IHierarchyItemAsync.)
Public methodGetSupportedPrivilegeSetAsync
Retrieves the privileges defined for the resource.
Public methodCode exampleMoveToAsync
Moves this item to the destination folder under a new name.
(Inherited from IHierarchyItemAsync.)
Public methodResolveWellKnownPrincipalAsync
Returns predefined principal.
Public methodSetAclAsync
Sets list of access control entries (ACEs), which define what principals are to get what privileges for this resource.
Public methodSetGroupAsync
Retrieves a particular principal as being the "group" of the item. This property is commonly found on repositories that implement the Unix privileges model.
Public methodSetOwnerAsync
Retrieves a particular principal as being the "owner" of the item. Since the owner of a resource often has special access control capabilities (e.g., the owner frequently has permanent WriteAcl privilege), clients might display the resource owner in their user interface.
Public methodCode exampleUpdatePropertiesAsync
Adds, modifies and removes properties for this item.
(Inherited from IHierarchyItemAsync.)
Top
See Also