Details about Site roles - Adding and getting
Related to Site Roles we can use UserGroupRoleLocalServiceUtil method.
To add site role to the user we can use UserGroupRoleLocalServiceUtil .addUserGroupRoles(long userId, long groupId, long[] roleIds)
To get site role for the user we can use getUserGroupRoles(long userId, long groupId);
Also there are several methods to Delete site roles and to check the site roles.
All these implementation we can check in the UserGroupRoleLocalServiceImpl .
Comments
Post a Comment