Share via


UserInfo Class

The UserInfo class represents user information from a user's user profile, such as e-mail address and name.

System.Object

   Microsoft.SharePoint.Portal.Audience.UserInfo

Public Properties

The following table shows the properties of the UserInfo class, the data type of each property, and a brief description of each.

Name Data type Description
Email String Gets the e-mail address for the current user.
NTName String Gets the user name for the current user.
PreferredName String Gets the display name for the current user.
UserID System.Guid Gets the globally unique identifier (GUID) for the current user.

Thread Safety

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

Requirements

Namespace: Microsoft.SharePoint.Portal.Audience

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security