Share via


UserInfo.NTName Property

Gets the Windows account name for the current user.

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.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