ILoginOptions ILoginOptions ILoginOptions Interface

Definition

Important

This API is not CLS-compliant.

The ILoginOptions class is an interface that represents a collection of options associated with a login.

public interface class ILoginOptions : Microsoft::SqlServer::Management::Sdk::Sfc::IDmfFacet
[Microsoft.SqlServer.Management.Facets.EvaluationMode(Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.Enforce | Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnChanges | Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("CREATE_LOGIN", "LOGIN")]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_LOGIN", "LOGIN")]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("ILoginOptions_Desc")]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("ILoginOptions_Name")]
[Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[System.CLSCompliant(false)]
[System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))]
public interface ILoginOptions : Microsoft.SqlServer.Management.Sdk.Sfc.IDmfFacet
Public Interface ILoginOptions
Implements IDmfFacet
Derived
Attributes
Microsoft.SqlServer.Management.Facets.EvaluationModeAttribute Microsoft.SqlServer.Management.Facets.StateChangeEventAttribute Microsoft.SqlServer.Management.Facets.StateChangeEventAttribute DisplayDescriptionKeyAttribute DisplayNameKeyAttribute LocalizedPropertyResourcesAttribute CLSCompliantAttribute TypeConverterAttribute
Implements

Properties

AsymmetricKey AsymmetricKey AsymmetricKey

Gets or sets the asymmetric key that is associated with the login.

Certificate Certificate Certificate

Gets or sets the certificate that is associated with the login.

CreateDate CreateDate CreateDate

Gets the date and time when the login was created.

Credential Credential Credential

Gets or sets the credential that is associated with the login.

DefaultDatabase DefaultDatabase DefaultDatabase

Gets or sets the database that the login uses by default.

ID ID ID

Gets the ID value that uniquely identifies the login.

IsDisabled IsDisabled IsDisabled

Gets the Boolean value that determines whether the login is disabled.

IsLocked IsLocked IsLocked

Gets the Boolean value that determines whether the login is locked.

IsSystemObject IsSystemObject IsSystemObject

Gets the Boolean value that determines whether the login is a system object.

Language Language Language

Gets or sets the language that is associated with the login.

LanguageAlias LanguageAlias LanguageAlias

Gets the alternative name that describes the language that is associated with the login.

MustChangePassword MustChangePassword MustChangePassword

Gets the Boolean value that determines whether the login password must be changed.

Name Name Name

Gets or sets the name of the login.

PasswordExpirationEnabled PasswordExpirationEnabled PasswordExpirationEnabled

Gets or sets the Boolean value that determines whether the login password will expire automatically.

PasswordPolicyEnforced PasswordPolicyEnforced PasswordPolicyEnforced

Gets or sets the Boolean value that determines whether the login password must adhere to a policy.

Applies to