We recommend using Visual Studio 2017

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.