다음을 통해 공유


SPPrincipalType Enumeration

Specifies the principal type.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
<ClientCallableTypeAttribute(Name := "PrincipalType", ServerTypeId := "{c74ae150-6b15-4584-8d21-190f8560e84c}")> _
<FlagsAttribute> _
Public Enumeration SPPrincipalType
'Usage
Dim instance As SPPrincipalType
[SubsetCallableTypeAttribute]
[ClientCallableTypeAttribute(Name = "PrincipalType", ServerTypeId = "{c74ae150-6b15-4584-8d21-190f8560e84c}")]
[FlagsAttribute]
public enum SPPrincipalType

Members

Member name Description
None No principal type.
User A user principal type.
DistributionList A distribution list principal type.
SecurityGroup A security group principal type.
SharePointGroup A SharePoint group principal type.
All All principal types.

See Also

Reference

Microsoft.SharePoint.Utilities Namespace