MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / allPrincipalIDs

Method allPrincipalIDs

db/database_collection.go:143–145  ·  view source on GitHub ↗

allPrincipalIDs returns the IDs of all users and roles, including deleted Roles

(ctx context.Context)

Source from the content-addressed store, hash-verified

141
142// allPrincipalIDs returns the IDs of all users and roles, including deleted Roles
143func (c *DatabaseCollection) allPrincipalIDs(ctx context.Context) (users, roles []string, err error) {
144 return c.dbCtx.AllPrincipalIDs(ctx)
145}
146
147// Authenticator returns authentication options associated with the collection's database.
148func (c *DatabaseCollection) Authenticator(ctx context.Context) *auth.Authenticator {

Callers 1

Calls 1

AllPrincipalIDsMethod · 0.80

Tested by

no test coverage detected