Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

IdentityManager to get role

$
0
0
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.

Viewing all articles
Browse latest Browse all 2097

Trending Articles