Interface RoleSpecification

Deprecated

Use the createUser command directly instead.

Hierarchy

  • RoleSpecification

Properties

Properties

db: string

The database this user's role should effect.

role: string

A role grants privileges to perform sets of actions on defined resources. A given role applies to the database on which it is defined and can grant access down to a collection level of granularity.

Generated using TypeDoc