MongoClusterDatabaseRole(String, MongoClusterUserRole) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MongoClusterDatabaseRole.
public MongoClusterDatabaseRole(string db, Azure.ResourceManager.MongoCluster.Models.MongoClusterUserRole role);
new Azure.ResourceManager.MongoCluster.Models.MongoClusterDatabaseRole : string * Azure.ResourceManager.MongoCluster.Models.MongoClusterUserRole -> Azure.ResourceManager.MongoCluster.Models.MongoClusterDatabaseRole
Public Sub New (db As String, role As MongoClusterUserRole)
Parameters
- db
- String
Database scope that the role is assigned to.
- role
- MongoClusterUserRole
The role that is assigned to the user on the database scope.
Exceptions
db is null.