SPPrincipalSource Enumeration
Specifies the source of the current principal.
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
<FlagsAttribute> _
<SubsetCallableTypeAttribute> _
<ClientCallableTypeAttribute(Name := "PrincipalSource", ServerTypeId := "{fb45d8db-3caf-4062-b9e7-6b0b6c6c4d7d}")> _
Public Enumeration SPPrincipalSource
'Usage
Dim instance As SPPrincipalSource
[FlagsAttribute]
[SubsetCallableTypeAttribute]
[ClientCallableTypeAttribute(Name = "PrincipalSource", ServerTypeId = "{fb45d8db-3caf-4062-b9e7-6b0b6c6c4d7d}")]
public enum SPPrincipalSource
Members
Member name | Description | |
---|---|---|
None | Do not specify a source. | |
UserInfoList | Use the user information list as the source. | |
Windows | Use Windows as the source. | |
MembershipProvider | Use the membership provider as the source. | |
RoleProvider | Use the role provider as the source | |
All | Use all sources. |