on 2020 Feb 20 8:32 AM
Hi,
I need to identify the current logged in user on the UI in my underlying SDK logic to have some conditions in code.
Can you please help me with the code patch to identify the logged in user?
Thanks,
Pratik
Request clarification before answering.
Hi Pratik,
You can use below code:
import AP.PC.IdentityManagement.Global;
var user = Identity.Retrieve(Context.GetCurrentIdentityUUID()).ID.content;
variable user will hold the value of the current logged in user.
Regards,
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.