Share via


PrincipalInfo.AccountName Field

E-mail address or account name that is associated with the user of a SharePoint site.

Web Service: PeopleWeb Reference: http://<Site>/_vti_bin/People.asmx

Syntax

Public AccountName As String

Dim instance As PrincipalInfo
Dim value As String

value = instance.AccountName

instance.AccountName = value
public string AccountName

Remarks

Information that is associated with a user is made available to the SharePoint site either through Active Directory Domain Services (AD DS), a membership provider, or some other role provider. There may be multiple entries within a directory for the same user or account name, based on factors such as domain name or membership within a security group.

See Also

Reference

PrincipalInfo Structure
PrincipalInfo Members
People Web Service
PeopleEditor.GetAccountFromSid Method
NTAccount
People.ResolvePrincipals Method
People.SearchPrincipals Method