UserType Enum

Definition

Specifies the type of user in a database.

C#
public enum UserType
Inheritance
UserType

Fields

Name Value Description
SqlLogin 0

Specifies a SQLLogin user. This is deprecated, use SQLUser instead.

SqlUser 0

Specifies that the user is either a SQLLogin user or a user with password.

Certificate 1

Specifies that the user login for the database is based on a certificate.

AsymmetricKey 2

Specifies that the user login for the database is based on an asymmetric key.

NoLogin 3

Specifies that the user does not have a login for the database.

External 4

Specifies that the user is based on external authentication

Applies to

Toode Versioonid
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0