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)

Syntax

'Declaration
Public Enumeration LoginType
'Usage
Dim instance As LoginType
public enum LoginType
public enum class LoginType
type LoginType
public enum LoginType

Members

Member name Description
WindowsUser Value = 0. A Windows individual logon.
WindowsGroup Value = 1. A Windows group logon.
SqlLogin Value = 2. A SQL Server standard logon.
Certificate Value = 3. The logon is mapped to a certificate.
AsymmetricKey Value = 4. The logon is mapped to an asymmetric key.

Remarks

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