Freigeben über


IUser-Schnittstelle

Represents a SQL Server user.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Interface IUser _
    Inherits IDatabasePrincipal, IDatabaseOwnedObject, IDatabaseObject, IMetadataObject
'Usage
Dim instance As IUser
public interface IUser : IDatabasePrincipal, IDatabaseOwnedObject, 
    IDatabaseObject, IMetadataObject
public interface class IUser : IDatabasePrincipal, 
    IDatabaseOwnedObject, IDatabaseObject, IMetadataObject
type IUser =  
    interface
        interface IDatabasePrincipal
        interface IDatabaseOwnedObject
        interface IDatabaseObject
        interface IMetadataObject
    end
public interface IUser extends IDatabasePrincipal, IDatabaseOwnedObject, IDatabaseObject, IMetadataObject

Der IUser-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft AsymmetricKey Gets the IAsymmetricKey object that is associated with the user.
Öffentliche Eigenschaft Certificate Gets the ICertificate object that is associated with the user.
Öffentliche Eigenschaft Database Gets the IDatabase object that owns this object. (Geerbt von IDatabaseOwnedObject.)
Öffentliche Eigenschaft DefaultSchema Gets an ISchema object that specifies the default schema for the user.
Öffentliche Eigenschaft IsSystemObject Gets a value that indicates whether this is a system object. (Geerbt von IDatabaseObject.)
Öffentliche Eigenschaft Login Gets an ILogin object that specifies the login for the user.
Öffentliche Eigenschaft Name Gets the name of the metadata object. (Geerbt von IMetadataObject.)
Öffentliche Eigenschaft Parent Gets the IDatabaseObject object that is the parent of this object. (Geerbt von IDatabaseObject.)
Öffentliche Eigenschaft UserType Gets the type of the user.

Zum Anfang