IPrincipalFolderCreatePrincipalAsync Method
IT Hit WebDAV Classes Reference
Creates principal with given name.
Namespace:
ITHit.WebDAV.Server.Acl
Assembly:
ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 13.3.13068
Syntax Task<IPrincipal> CreatePrincipalAsync(
string name
)
Function CreatePrincipalAsync (
name As String
) As Task(Of IPrincipal)
Task<IPrincipal^>^ CreatePrincipalAsync(
String^ name
)
abstract CreatePrincipalAsync :
name : string -> Task<IPrincipal>
Parameters
- name
- Type: SystemString
Principal name
Return Value
Type:
TaskIPrincipalNewly created principal.
Exceptions Remarks
The principal created can be either group or user. One of the way to distinguish is
to create separate folders for users and for groups, so in one folder only users
can be created, and in another one only groups.
See Also