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

MongoDB.GetAuthMechanism

Queries authentication mechanism.

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

Parameters

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

Result

Returns text or error.

Description

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