I'm trying to use the IdentityManager class to get the role of the logged in user. At the very least the user name.
code snippet:
private var identifyManager:IdentityManager = IdentityManager.instance;
var name:String = identifyManager.credentials[0].userId;
The API keeps telling me IdentityManager.credentials doesn't exist. Is it possible to get any information out of the IdentityManager? Has anyone had any success with this?
Thanks in advance.
code snippet:
private var identifyManager:IdentityManager = IdentityManager.instance;
var name:String = identifyManager.credentials[0].userId;
The API keeps telling me IdentityManager.credentials doesn't exist. Is it possible to get any information out of the IdentityManager? Has anyone had any success with this?
Thanks in advance.