UserType Enumeration
Collapse the table of content
Expand the table of content

UserType Enumeration

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

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

public enum UserType

Member nameDescription
AsymmetricKeyThe user type is an asymmetric key.
CertificateThe user type is a certificate.
NoLoginThe user cannot log in to SQL Server.
SqlLoginThe user type is a SQL Server login.
SqlUserThe SQL Server user.

The UserType enumeration is served by the UserType property.

Community Additions

© 2015 Microsoft