Share via


PrincipalInfo structure

Contains information that represents the user of a SharePoint site.

Namespace:  WebSvcPeople
Assembly:  STSSOAP (in STSSOAP.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Structure PrincipalInfo
'Usage
Dim instance As PrincipalInfo
[SerializableAttribute]
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 SharePoint Foundation Web sites or between SharePoint Foundation 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.

See also

Reference

PrincipalInfo members

WebSvcPeople namespace

PeopleEditor

PeoplePickerDialog

System.Security.Principal

SPPrincipalInfo