Copied to clipboard

Flag this post as spam?

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


  • Zac 239 posts 541 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 239 posts 541 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);
    ...
       }); 

Please Sign in or register to post replies

Write your reply to:

Draft