Good Afternoon,
I’m attempting to programmatically get the current user’s contact information through the vision client. The code provided below worked when the “Name” and the “Username” were the same. Unfortunately the “Name” and “Username” section values are different now and as a result, I can’t call system.util.getUser() by passing in system.security.getUsername().
username = system.security.getUsername()
userInfo = system.user.getUser("", username) #returns None since username != system.security.getUsername()
I’m not sure if this is a bug or not but it’s a bit confusing at the very least. Any easy way around this?