/currentUser
Methods
Gets the Current User.
Fields Parameter
Request User Parameters
None
Example Response
Administrator
Organization User
Note: If the Current User is a linked user / Non-Admin linked user, the response includes a list of the users that can be switched to including the parent Administrator / Specific organization.
Edits the current User, changing only the passed in fields.
Request Parameters
Example Response
See /currentUser::GET
/currentUser/associateCert
Methods
Associates a certificate that was presented to the server with the user's account, allowing for auto-login.
Note: When askAboutCert="true", then the F/E would allow you to save fingerprint.
Note: Certificates cannot be associated with linked users.
Request Parameters
Active Certificate (CAT Card, etc).
Example Response
/currentUser/preferences
Methods
Gets the Current User's preferences specified by parameters 'name' and/or 'tag'. If neither name nor tag is provided, this gets all of the Current User's preferences.
NOTE: This functionality may also be performed in /currentUser::GET with the field 'preferences'
Request Parameters
Example Response
Deletes the Current User's preferences specified by parameters 'name' and/or 'tag'. If neither name nor tag is provided, this deletes all of the Current User's preferences.
NOTE : This functionality may also be performed in /currentUser::PATCH with the field 'preferences'
Request Parameters
Example Response
Edits or adds the preferences associated with the Current User, changing only the passed in fields.
NOTE #1: If the given preference name/tag combination exists, this will update the value. Otherwise, the preference provided will be added.
NOTE #2 : This functionality may also be performed in /currentUser::PATCH with the field 'preferences'
Request Parameters
Example Response
/currentUser/switch
Methods
Switches from the current user to the specified user.
Note: You can switch
- from an Administrator to a linked user (an organization user where authType = "linked" and parentID matches the id of the Administrator)
- from a linked user to another linked user with the same parent Administrator
- from a linked user back to the parent Administrator