다음을 통해 공유


PrincipalInfo Structure

Contains information that represents the user of a SharePoint site.

Namespace:  [People Web service]
Web service reference: http://Site/_vti_bin/People.asmx

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

People Web Service

PeopleEditor

PeoplePickerDialog

System.Security.Principal

SPPrincipalInfo