if I know the login in user ID, how do I get his identity?
Thanks
Qiaoyun
if I know the login in user ID, how do I get his identity?
Thanks
Qiaoyun
Some update to this one, cause this post is about a common task everybody needs to solve sometimes.
Even if an Aras employee (Chris "the saint" ) and many other liked my code sample, I wonder if we all have overseen a better solution.
Doesn´t inn.getUserAliases()); do pretty much the same?!?!? Does anyone know more? I am so confused right now.
In C# there is
string aliasId = Aras.Server.Security.Permissions.Current.AliasIdentitiesList;
But you would probably need to check if it contains exactly one id, since it is a "List".
In Javascript there is:
aras.getIsAliasIdentityIDForLoggedUser()
In C# there is
string aliasId = Aras.Server.Security.Permissions.Current.AliasIdentitiesList;
But you would probably need to check if it contains exactly one id, since it is a "List".
In Javascript there is:
aras.getIsAliasIdentityIDForLoggedUser()
Hi Alderaan,
many thanks for the examples! I like both variants and will definitely use them!
Copyright © 2024 Aras. All rights reserved.