IBM Worklight v5.0.5 > API reference > IBM Worklight client-side API > JavaScript client-side APIWL.Client.updateUserInfo
Use when the application receives an exception after calling the invokeProcedure() method.
WL.Client.updateUserInfo(options)
The method refreshes the data for the following methods:
- WL.Client.getUserName(realm)
- WL.Client.getLoginName(realm)
- WL.Client.isUserAuthenticated(realm)
After such an exception, you can verify the user authentication status by calling this function first, and then the isUserAuthenticated() method.
Parameter Description options Optional. A standard options object.
Return Value
None.
Parent JavaScript client-side API