Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Zac 238 posts 539 karma points
    Jun 30, 2014 @ 23:26
    Zac
    0

    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

  • Zac 238 posts 539 karma points
    Jun 30, 2014 @ 23:40
    Zac
    100

    To answer my own question:

    1. Yes it's possible

    2. Utilize the userService.
    I.E.

        userService.getCurrentUser().then(function (user) {
           console.log(user);
    ...
       }); 

  • 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.

Please Sign in or register to post replies