MCQs > IT & Programming > Meteor - JavaScript Web Framework >

Which one of the following is correct to add an admin role to user?

Meteor - JavaScript Web Framework MCQs

Which one of the following is correct to add an admin role to user?

Answer

Correct Answer: Meteor.users.update(userId, {$set: { roles: {admin: true}, }});

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Meteor - JavaScript Web Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Meteor - JavaScript Web Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it