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

Login Properties

The Login type exposes the following members.

  Name Description
Public property AsymmetricKey Gets the asymmetric key associated with the login.
Public property Certificate Gets the certificate associated with the login.
Public property CreateDate Gets the date and time when the login account was created.
Public property Credential Gets the credential associated with the login.
Public property DateLastModified Gets the date and time when the login account was last modified.
Public property DefaultDatabase Gets or sets the default database that the login account is assigned to after logging on to the instance of SQL Server.
Public property DenyWindowsLogin Gets or sets the Boolean property value that specifies whether the login account has been granted or denied the ability to log on to the instance of SQL Server.
Public property Events Gets the events associated with the login account.
Public property HasAccess Gets or sets the Boolean property value that specifies whether the SQL Server login account has access to the instance of SQL Server.
Public property ID Gets the ID value that uniquely identifies the login account.
Public property IsDisabled Gets or sets the Boolean property value that specifies whether the SQL Server login account is disabled.
Public property IsLocked Gets the Boolean property value that specifies whether the login account has been locked out of the instance of SQL Server.
Public property IsPasswordExpired Gets the Boolean property value that specifies whether the password for the SQL Server login account has expired.
Public property IsSystemObject Gets or sets the Boolean property value that specifies whether the SQL Server login account is a system object.
Public property Language Gets or sets the language required by the referenced login account for date formats and system messages.
Public property LanguageAlias Gets the alias name used for the language that is required by the SQL Server login account.
Public property LoginType Gets or sets the type of SQL Server login account.
Public property MustChangePassword Gets the Boolean property value that specifies whether the login account password must be changed when the user next logs on to the instance of SQL Server.
Public property Name Gets or sets the name of the login. (Overrides NamedSmoObject.Name.)
Public property Parent Gets the Server object that is the parent of the Login object.
Public property PasswordExpirationEnabled Gets the Boolean property value that specifies whether the password for the login account will automatically expire.
Public property PasswordHashAlgorithm Gets or sets the hash algorithm used for the password.
Public property PasswordPolicyEnforced Gets the Boolean property value that specifies whether password policy is enforced for this login account.
Public property Properties Gets a collection of Property objects that represent the object properties. (Inherited from SqlSmoObject.)
Public property Sid Gets or sets the security identifier (SID) for the login account.
Public property State Gets the state of the referenced object. (Inherited from SmoObjectBase.)
Public property Urn Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Inherited from SqlSmoObject.)
Public property UserData Gets or sets user-defined data associated with the referenced object. (Inherited from SmoObjectBase.)
Public property WindowsLoginAccessType Gets the type of Windows logon access.
Top
  Name Description
Explicit interface implemetation Private property ISfcSupportsDesignMode.IsDesignMode Gets a Boolean value that indicates whether the object supports design mode. Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.