DatabaseUserAccess Enumeration


The DatabaseUserAccess enumeration is a list of constant values that specify how user access can be restricted.

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

public enum class DatabaseUserAccess

Member nameDescription

Under normal operation on a multiuser database, multiple users have access to the database.


Access to the database might be restricted to particular users during certain operations.


Access is limited to a single user.

The DatabaseUserAccess enumeration class is served by the UserAccess property.

Return to top