Aller au contenu principal

Expand Get User Activity outputs

Non planifiée

Commentaires

3 commentaires

  • Zack Robison

    Did you try the Get Portal User activity?  I've never used it with AGOL credentials but as the activity passes through the PortalUser class which I know does work with AGOL I'd give that a try.

    AGOL is a "portal" as far as the ArcGIS JS, Python, Arcade, and .NET libraries are concerned (probably most of the others too but I can't speak to them).

    0
  • Gareth Evans

    Hey Christal Higdon & Zack Robison. Zack's got it here - you want to use the Get Portal User activity. That returns an Esri user object, which as Zack mentioned has a bunch of properties: PortalUser | API Reference | ArcGIS Maps SDK for JavaScript 4.27 | ArcGIS Developers

    Once you've got your Get Portal User returning a user object, you can dot into that fullname like =$portalUser.user.fullName

    Here's an example of a workflow doing this:

    1
  • Christal Higdon

    Thank you!! I'm going to give it a go right now.

    .... and it worked beautifully. Thank you for helping out a newbie.

    I was trying to use Get User Info, which wasn't getting me everything I needed. Thanks for pointing me to the right activity.

    1

Vous devez vous connecter pour laisser un commentaire.