Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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
SqlLoginThe user type is a SQL Server login.
CertificateThe user type is a certificate.
AsymmetricKeyThe user type is an asymmetric key.
NoLoginThe user cannot log in to SQL Server.

The UserType enumeration is served by the UserType property.

Community Additions

© 2015 Microsoft