Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Queries authentication mechanism.

Component Version macOS Windows Linux Server iOS SDK
MongoDB 12.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "MongoDB.GetAuthMechanism"; MongoDBRef )   More


Parameter Description Example
MongoDBRef The reference number for the mongo connection. $MongoDB


Returns text or error.


Queries authentication mechanism.
Fetches the authMechanism parameter to an URI if provided.

See also

This function checks for a license.

Created 2nd June 2022, last changed 2nd June 2022

MongoDB.GetAppName - MongoDB.GetAuthSource