Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
MongoDB.GetCredentials
Queries credentials as JSON.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MongoDB | 14.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "MongoDB.GetCredentials"; MongoDBRef ) More
Parameters
Parameter | Description | Example |
---|---|---|
MongoDBRef | The reference number for the mongo connection. | $MongoDB |
Result
Returns JSON or error.
Description
Queries credentials as JSON.Examples
Query credentials:
Show Custom Dialog [ "Credentials" ; MBS("MongoDB.GetCredentials"; $Mongo) ]
Example result:
{ "authmechanism" : "MONGODB-X509", "authsource" : "$external" }
Release notes
- Version 14.2
- Added MongoDB.GetAppName, MongoDB.SetAppName and MongoDB.GetCredentials functions.
Blog Entries
This function is free to use.
Created 20th March 2024, last changed 23th June 2024