Login.Sid Property


Gets or sets the security identifier (SID) for the login account.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.ReadOnlyAfterCreation | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase)]
public byte[] Sid { get; set; }

Property Value

Type: System.Byte[]

An unsigned T:System.Uint8 array value that specifies the security identifier of the login account

The SID is associated with the principal. If Windows is the principal, then the SID value matches the Windows SID value.

Return to top