authorizedCollections

Sets the authorizedCollections field of the listCollections command.

Return

this.

Parameters

authorizedCollections

If true, allows executing the listCollections command, which has the nameOnly field set to true, without having the listCollections privilege on the database resource.