Bagikan melalui


User.Sid Property

Gets the security identification number (SID) value of the database user.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property Sid As Byte()
    Get
'Usage
Dim instance As User
Dim value As Byte()

value = instance.Sid
[SfcPropertyAttribute]
public byte[] Sid { get; }
[SfcPropertyAttribute]
public:
property array<unsigned char>^ Sid {
    array<unsigned char>^ get ();
}
[<SfcPropertyAttribute>]
member Sid : byte[]
function get Sid () : byte[]

Property Value

Type: array<System.Byte[]
An Int8 array value that specifies the SID value of the database user.