Partilhar via


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)

Syntax

'Declaration
Public Enumeration UserType
public enum UserType
public enum class UserType
public enum UserType
public enum UserType

Members

Member name Description
AsymmetricKey The user type is an asymmetric key.
Certificate The user type is a certificate.
NoLogin The user cannot log on to SQL Server.
SqlLogin The user type is a SQL Server login.

Remarks

Updated text:

The UserType enumeration is served by the UserType property.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace

Change History

Release

History

New content:
  • Added new enumerated types.