Export (0) Print
Expand All

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|SfcPropertyFlags.Matrix)]
public byte[] Sid { get; set; }

Property Value

Type: Byte[]
An unsigned 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft