get User
Gets a registered user.
Return
The user or null if there is no registered user with this userId for the project on the device.
Parameters
user Id
The identifier of the user.
Gets a registered user.
Parameters
user Id
The identifier of the user.
result Handler
A callback to handle the result of the user retrieval.
If successful, the result is a MIRACLSuccess with the value of the user or null if there is no registered user with this userId for the project on the device.
If an error occurs, the result is a MIRACLError with a UserStorageException.