Which one of the following is correct to add an admin role to user?
Which one of the following is correct to add an admin role to user?
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
More Meteor - JavaScript Web Framework MCQ Questions
Meteor - JavaScript Web Framework Skill Assessment