Forum Discussion
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" [emoticon:44ce83dd2c0841729633d585605ccf2e]) 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
[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:e2beef72-9c93-47a9-96b2-3836df04f639:type=text&text=string%20aliasId%20%3D%20Aras.Server.Security.Permissions.Current.AliasIdentitiesList%3B]
But you would probably need to check if it contains exactly one id, since it is a "List".
In Javascript there is:
[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:d7e55918-f2f3-4d13-beee-15c10dfabeda:type=text&text=aras.getIsAliasIdentityIDForLoggedUser%28%29]
- angela4 years agoCatalyst II
Hi Alderaan,
many thanks for the examples! I like both variants and will definitely use them!