Hi,
I am connecting to Mongo Node with a user having roles: ["userAdminAnyDatabase"] assigned to it.
When I am tring to run command : db.adminCommand({getLog: "*"})
it says:
{
"ok" : 0,
"errmsg" : "not authorized on admin to execute command { getLog: \"*\" }",
"code" : 13
}
Please help
Regards,
Vishesh