Server.Permissions.GetUserName does not return user name - VisualCron - Forum

Community forum

Tjomme
2017-06-14T10:49:46Z
Hi,

we're working with VisualCron 8.2.4

Working with the API and VB .NET, I'm trying to get the user name as listed in the user permissions window.
According to the documentation this should be done by calling Server.Permissions.GetUserName(UserID).
However, this returns the Name instead.

Is this a bug or should I use another function?

Thanks,
Tjomme
Support
2017-06-14T14:22:03Z
Yes, we think it is a bug. The actual Name should be recieved from GetFullUserName. We have fixed this for the next build.

Workaround would be to;

serverObj.Decrypt(userObject.UserName);

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Tjomme
2017-06-15T14:31:08Z
Thanks!

The workaround works.

Tjomme
Scroll to Top