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 :)
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
1
Hi, you can first get admin role via
RoleAppServiceand use theroleIdfor admin role in the next call toUserAppServiceMarkdown is supportedCopy & paste or drag & drop images (max 30 MB per image)