User.SamAccountName property
Gets or sets the logon name used to support clients and servers running on older versions of the operating system.
Namespace: Microsoft.Exchange.Data.Directory.Management
Assembly: Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)
Syntax
'Declaration
Public Property SamAccountName As String
Get
Set
'Usage
Dim instance As User
Dim value As String
value = instance.SamAccountName
instance.SamAccountName = value
public string SamAccountName { get; set; }
Property value
Type: System.String
The logon name used to support clients and servers running on older versions of the operating system.
Remarks
This property must contain fewer than 20 characters.