0
larsfk created
Hi!
What is the best way to get the users role in Angular 6? Or to see if a user is "admin" or not.
Thanks :)
1 Answer(s)
-
1
Hi, you can first get admin role via
RoleAppService
and use theroleId
for admin role in the next call toUserAppService