ILogin Interface

Represents a SQL Server login.

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

Syntax

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

The ILogin type exposes the following members.

Properties

  Name Description
Public property AsymmetricKey Gets the IAsymmetricKey object that is associated with this login.
Public property Certificate Gets the ICertificate object that is associated with this login.
Public property Credential Gets the ICredential object that is associated with this login.
Public property DefaultDatabase Gets the default database that the login account is assigned to after logging on to the instance of SQL Server.
Public property IsSystemObject Gets a value that indicates whether this is a system object. (Inherited from IDatabaseObject.)
Public property Language Gets the language that is required by the login account for date formats and system messages.
Public property LoginType Gets the type of the login.
Public property Name Gets the name of the metadata object. (Inherited from IMetadataObject.)
Public property Parent Gets the IDatabaseObject object that is the parent of this object. (Inherited from IDatabaseObject.)
Public property Password Gets the password that is associated with this login.
Public property Server Gets the IServer object that owns this object. (Inherited from IServerOwnedObject.)
Public property Sid Gets the security identifier (SID) for the login account.

Top

Methods

  Name Description
Public method Accept<T>(IDatabaseObjectVisitor<T>) Accepts a visit from the specified IDatabaseObjectVisitor<T> object. (Inherited from IDatabaseObject.)
Public method Accept<T>(IMetadataObjectVisitor<T>) Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)
Public method Accept<T>(IServerOwnedObjectVisitor<T>) Accepts a visit from the specified IServerOwnedObjectVisitor<T> object. (Inherited from IServerOwnedObject.)

Top