UserInfoMethods extension
Additional methods for UserInfo.
- on
Properties
Methods
-
changeFullName(
Session session, String newUserName) → Future< bool> - Updates the full name of this user, returns true if successful.
-
changeUserName(
Session session, String newUserName) → Future< bool> - Updates the name of this user, returns true if successful.
-
invalidateCache(
Session session) → Future< void> - Invalidates the local cache for the user, and forces next lookup to get a fresh copy from the database.
-
updateScopes(
Session session, Set< Scope> newScopes) → Future<bool> - Updates the scopes for a user, returns true if successful.