UserType UserType UserType Enum


The UserType enumeration contains constant values that specify the security type for the user.

public enum class UserType
public enum UserType
Public Enum UserType


AsymmetricKey AsymmetricKey AsymmetricKey 2

The user type is an asymmetric key.

Certificate Certificate Certificate 1

The user type is a certificate.

External External External 4

The user type is an external.

NoLogin NoLogin NoLogin 3

The user cannot log in to SQL Server.

SqlLogin SqlLogin SqlLogin 0

The user type is a SQL Server login.

SqlUser SqlUser SqlUser 0

The SQL Server user.


The UserType enumeration is served by the UserType property.

Applies to