Mailbox.SamAccountName Property

Gets or sets the user name for earlier operating systems.

Namespace:  Microsoft.Exchange.Data.Directory.Management
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
<ParameterAttribute(Mandatory := False)> _
Public Property SamAccountName As String
    Get
    Set
'Usage
Dim instance As Mailbox
Dim value As String

value = instance.SamAccountName

instance.SamAccountName = value
[ParameterAttribute(Mandatory = false)]
public string SamAccountName { get; set; }

Property Value

Type: System.String
A user name. Must be less than 20 characters.

Remarks

The SamAccountName property specifies the user name for earlier operating systems such as Microsoft Windows NT 4.0, Windows 98, Windows 95, and LAN Manager. This parameter is used to support clients and servers running older versions of the operating system. This attribute must be less than 20 characters in length.