Compartir a través de


User.Sid Property

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

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public ReadOnly Property Sid As Byte()
public byte[] Sid { get; }
public:
property array<unsigned char>^ Sid {
    array<unsigned char>^ get ();
}
/** @property */
public byte[] get_Sid ()
public function get Sid () : byte[]

Valor de propiedad

An Int8 array value that specifies the SID value of the database user.

Notas

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

How to: Enumerate Logins and Associated Users in Visual Basic .NET

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

User Class
User Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Managing Users, Roles, and Logins
Entidades de seguridad
CREATE USER (Transact-SQL)