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)

RMongo documentation built on May 30, 2017, 2:31 a.m.