Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.
SOLVED

__cloud:userid gives an Encoded UserID [Private Gallery]

arjunmohan
5 - Atom

Hi,

 

I am trying to access the userID during runtime on a private Alteryx gallery using the solution listed here https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Get-username-Cloud-not-working/td-p/51....

 

I am getting an output, but it seems to be encoded:5dada68c8a93370dac3c8ee4


Not sure if this has something to do with server settings or MangoDB.

Thanks in advance

 

Cheers!

 

 

4 REPLIES 4
mbarone
16 - Nebula
16 - Nebula

That is correct.  The ID comes back in that format. You have to join that to the Mongo Input for the Users collection in order to get the details behind that user id.

arjunmohan
5 - Atom

Thanks @mbarone for getting back.

 

I looked at some of your replies on other threads on MangoDB. 

 

From what i understand, i would need the user account and password entered in the Alteryx Server setup to be able to access MangoDB input. 

 

Is there a way by which i can get user email id (for Row Level Security) without using the MangoDB connection credentials?

 

 

mbarone
16 - Nebula
16 - Nebula

Ah yes, I failed to mention that.  In order to make use of the Mongo Input tools, you do in fact need that password (don't need the ID - just the server host name and the ID).  Without that, I don't know of a way to get to the user information, I'm sorry.

TheCoffeeDude
11 - Bolide

I'm a little late to this party, but you can use the v3 User AP to get user information.

 

TheCoffeeDude_0-1665778772438.png