Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ILoginOptions Interface

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

This API is not CLS-compliant. 

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
[DisplayNameKeyAttribute("ILoginOptions_Name")]
[DisplayDescriptionKeyAttribute("ILoginOptions_Desc")]
[StateChangeEventAttribute("CREATE_LOGIN", "LOGIN")]
[StateChangeEventAttribute("ALTER_LOGIN", "LOGIN")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[CLSCompliantAttribute(false)]
public interface ILoginOptions : IDmfFacet

The ILoginOptions type exposes the following members.

  NameDescription
Public propertyAsymmetricKeyGets or sets the asymmetric key that is associated with the login.
Public propertyCertificateGets or sets the certificate that is associated with the login.
Public propertyCreateDateGets the date and time when the login was created.
Public propertyCredentialGets or sets the credential that is associated with the login.
Public propertyDefaultDatabaseGets or sets the database that the login uses by default.
Public propertyIDGets the ID value that uniquely identifies the login.
Public propertyIsDisabledGets the Boolean value that determines whether the login is disabled.
Public propertyIsLockedGets the Boolean value that determines whether the login is locked.
Public propertyIsSystemObjectGets the Boolean value that determines whether the login is a system object.
Public propertyLanguageGets or sets the language that is associated with the login.
Public propertyLanguageAliasGets the alternative name that describes the language that is associated with the login.
Public propertyMustChangePasswordGets the Boolean value that determines whether the login password must be changed.
Public propertyNameGets or sets the name of the login.
Public propertyPasswordExpirationEnabledGets or sets the Boolean value that determines whether the login password will expire automatically.
Public propertyPasswordPolicyEnforcedGets or sets the Boolean value that determines whether the login password must adhere to a policy.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.