dbAuthenticate-methods: Authenticate with a username/password.

Description Usage Arguments See Also Examples

Description

This is an optional authenticate method.

Usage

1
dbAuthenticate(rmongo.object, username, password)

Arguments

rmongo.object

RMongo object containing the database connection information.

username

Username

password

Password

See Also

dbAuthenticate

Examples

1
2
3
4
5
  mongo <- mongoDbConnect("test")
  username = ""
  password = ""
  authenticated <- dbAuthenticate(mongo, username, password)
  dbDisconnect(mongo)

tc/RMongo documentation built on May 31, 2019, 7:27 a.m.