IAclHierarchyItemGetPrincipalCollectionSet Method
IT Hit WebDAV Classes Reference
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
Name properties
of all principals on that server, thereby yielding human-readable
names for each principal that could be displayed in a user interface.
Namespace: ITHit.WebDAV.Server.AclAssembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 4.5.3121.0
Syntax IEnumerable<IPrincipalFolder> GetPrincipalCollectionSet()
Function GetPrincipalCollectionSet As IEnumerable(Of IPrincipalFolder)
IEnumerable<IPrincipalFolder^>^ GetPrincipalCollectionSet()
abstract GetPrincipalCollectionSet : unit -> IEnumerable<IPrincipalFolder>
Return Value
Type:
IEnumerableIPrincipalFolder
List of
IPrincipalFolder items.
Exceptions Examples The code below is part of 'WebDAVServer.NtfsNtlmAcl' sample provided with the SDK.
public IEnumerable<IPrincipalFolder> GetPrincipalCollectionSet()
{
return new IPrincipalFolder[]
{
new UsersFolder(context)
};
}
See Also