Skip to main content
PrincipalInfo Structure
Contains information that represents the user of a SharePoint site.

Web Service: PeopleWeb Reference: http://<Site>/_vti_bin/People.asmx
Syntax
<SerializableAttribute> _
<XmlTypeAttribute(Namespace:="http://schemas.microsoft.com/sharepoint/soap/")> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<DebuggerStepThroughAttribute> _
Public Structure PrincipalInfo
Dim instance As PrincipalInfo
[SerializableAttribute] 
[XmlTypeAttribute(Namespace="http://schemas.microsoft.com/sharepoint/soap/")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[DebuggerStepThroughAttribute] 
public struct PrincipalInfo
Remarks

This structure contains information that represents a user of a SharePoint site. The information includes a nickname or display name for the user, the department with which they are associated, an e-mail address, and the account name by which the e-mail address is known. Other members of the structure include the job title of the user, the security scope or types, a field that specifies whether the user object has been validated against a list of Web site users, and the unique member identifier (ID) by which this entity is known in an SPUserCollection object. The structure may also include more matches with the user ID if the user has been granted access to multiple security groups by a membership provider, a role provider, or Active Directory Domain Services (AD DS).

This structure is used to serialize user data between directory servers and Windows SharePoint Services Web sites or between Windows SharePoint Services consumers and providers.

It is also used to manage distribution lists in the same way that individual user accounts are managed.

Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.