User.Sid 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property Sid As Byte()
    Get
用法
Dim instance As User 
Dim value As Byte()

value = instance.Sid
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public byte[] Sid { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
virtual property array<unsigned char>^ Sid {
    array<unsigned char>^ get () sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
abstract Sid : byte[]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
override Sid : byte[]
final function get Sid () : byte[]

属性值

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

实现

IUserOptions.Sid

示例

管理用户、角色和登录名

请参阅

参考

User 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

主体(数据库引擎)

CREATE USER (Transact-SQL)