MailUser.SamAccountName property
Gets or sets the logon name used to support clients and servers running on earlier versions of the operating system, such as Microsoft Windows NT 4.0, Windows 98, Windows 95, and LAN Manager.
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 MailUser
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 earlier versions of the operating system.
Remarks
The value of this property must contain fewer than 20 characters.