0 out of 1 rated this helpful - Rate this topic

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
public enum LoginType
public enum LoginType
Member name Description
AsymmetricKey Value = 4. The logon is mapped to an asymmetric key.
Certificate Value = 3. The logon is mapped to a certificate.
SqlLogin Value = 2. A SQL Server standard logon.
WindowsGroup Value = 1. A Windows group logon.
WindowsUser Value = 0. A Windows individual logon.

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

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.


Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ