AnsweredAssumed Answered

Add user to role via backend

Question asked by Autchara Chaiprom on Dec 20, 2016

Hi,

 

I tried to put user into a role.

For example, I need to put myself into Sales role.

Normally, I used GUI to doing that but I want to do via backend.

 

I can get role of user via ACLRole::getUserRoleNames but cannot set.

How can I set role for user ?

 

Ent 7.7

Thanks,

M

Outcomes