PrincipalInfo, structure (websvcPeople)

Contains information that represents the user of a SharePoint site.

Espace de noms : websvcPeople
Assembly : STSSOAP (dans stssoap.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
<XmlTypeAttribute(Namespace:="https://schemas.microsoft.com/sharepoint/soap/")> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<DebuggerStepThroughAttribute> _
Public Structure PrincipalInfo
'Utilisation
Dim instance As PrincipalInfo
[SerializableAttribute] 
[XmlTypeAttribute(Namespace="https://schemas.microsoft.com/sharepoint/soap/")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[DebuggerStepThroughAttribute] 
public struct PrincipalInfo

Notes

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.

Sécurité des threads

Les membres statiques publics de ce type (Shared en Visual Basic) sont sécurisés au niveau des threads. Il n'est pas garanti que les membres d'instance soient sécurisés au niveau des threads.

Voir aussi

Référence

Membres PrincipalInfo
websvcPeople, espace de noms
PeopleEditor, classe
PeoplePickerDialog, classe
System.Security.Principal
SPPrincipalInfo, classe