Partager via


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
Public Property SamAccountName As String
    Get
    Set
'Usage
Dim instance As Mailbox
Dim value As String

value = instance.SamAccountName

instance.SamAccountName = value
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 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.

See also

Reference

Mailbox class

Mailbox members

Microsoft.Exchange.Data.Directory.Management namespace