IPrincipalFolderAsyncCreatePrincipalAsync 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: 11.3.10719
Syntax Task<IPrincipalAsync> CreatePrincipalAsync(
string name
)
Task<IPrincipalAsync> CreatePrincipalAsync(
string name
)
Function CreatePrincipalAsync (
name As String
) As Task(Of IPrincipalAsync)
Function CreatePrincipalAsync (
name As String
) As Task(Of IPrincipalAsync)
Task<IPrincipalAsync^>^ CreatePrincipalAsync(
String^ name
)
Task<IPrincipalAsync^>^ CreatePrincipalAsync(
String^ name
)
abstract CreatePrincipalAsync :
name : string -> Task<IPrincipalAsync>
abstract CreatePrincipalAsync :
name : string -> Task<IPrincipalAsync>
Parameters
- name
- Type: SystemString
Principal name
Return Value
Type:
TaskIPrincipalAsyncNewly 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