Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is it possible to get the current back office user id or role in an angular v7 property editor? If so, how?
Thanks
To answer my own question:
1. Yes it's possible
2. Utilize the userService.I.E.
userService.getCurrentUser().then(function (user) { console.log(user);... });
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
v7 Property Editor get current user id
Is it possible to get the current back office user id or role in an angular v7 property editor? If so, how?
Thanks
To answer my own question:
1. Yes it's possible
2. Utilize the userService.
I.E.
userService.getCurrentUser().then(function (user) {
console.log(user);
...
});
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.