Share via


UserInfo.NTName property

Gets the Microsoft Windows account name for the current user.

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public ReadOnly Property NTName As String
    Get
'Usage
Dim instance As UserInfo
Dim value As String

value = instance.NTName
public string NTName { get; }

Property value

Type: System.String
String that represents the account name for the user.

Remarks

The NTName property is read-only.

See also

Reference

UserInfo class

UserInfo members

Microsoft.Office.Server.Audience namespace