if I know the login in user ID, how do I get his identity?
I wished Aras would have a standard function for this common task. But they haven´t. You have to do this with AML:
// Get user Alias Identity
Item alias = inn.newItem("Alias","get");…
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".
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.