oAuth Username

280
1
02-01-2019 01:53 PM
by Anonymous User
Not applicable

Using AGSAuthenticationManager oAuth, is there a way to get the username after successful login from login page.

1 Reply
EricIto
New Contributor III

You can get the username from the "user" property on the portal. AGSPortalUser has a "username" String property. 

portal.user.username