Export (0) Print
Expand All

LoginType Enumeration

The LoginType enumeration contains values that are used to specify the authentication type and the Windows account type.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

public enum LoginType

Member nameDescription
AsymmetricKeyValue = 4. The logon is mapped to an asymmetric key.
CertificateValue = 3. The logon is mapped to a certificate.
SqlLoginValue = 2. A SQL Server standard logon.
WindowsGroupValue = 1. A Windows group logon.
WindowsUserValue = 0. A Windows individual logon.

The LoginType enumeration class is served by the LoginType property for the Login and User classes.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft