Partager via


Interface IUser

Represents a SQL Server user.

Espace de noms :  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly :  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Syntaxe

'Déclaration
Public Interface IUser _
    Inherits IDatabasePrincipal, IDatabaseOwnedObject, IDatabaseObject, IMetadataObject
'Utilisation
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

Le type IUser expose les membres suivants.

Propriétés

  Nom Description
Propriété publique AsymmetricKey Gets the IAsymmetricKey object that is associated with the user.
Propriété publique Certificate Gets the ICertificate object that is associated with the user.
Propriété publique Database Gets the IDatabase object that owns this object. (hérité de IDatabaseOwnedObject.)
Propriété publique DefaultSchema Gets an ISchema object that specifies the default schema for the user.
Propriété publique IsSystemObject Gets a value that indicates whether this is a system object. (hérité de IDatabaseObject.)
Propriété publique Login Gets an ILogin object that specifies the login for the user.
Propriété publique Name Gets the name of the metadata object. (hérité de IMetadataObject.)
Propriété publique Parent Gets the IDatabaseObject object that is the parent of this object. (hérité de IDatabaseObject.)
Propriété publique UserType Gets the type of the user.

Haut de la page