Function: user.GetOne

Returns a single User Object identified by the given id. Only for the UI it will contain the password property though.

Syntax

{
	"method": "user.GetOne",
	"params": {
		"id": "...",
		"mode": "...",
		"include": "...",
		"select": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
getOne(id: string, mode?: DataMode | undefined, include?: DataMode | undefined): Promise<User>;

Parameters

id : guid

The User’s id.

mode : DataMode optional

View of the object to return: raw or effective. Default is effective.

include : DataMode optional

Adds the other view to the result; only values that differ are added (under @meta.overlay).

select : string[] optional

List of properties that should be contained in the result object.

Result : User

Matching User Object.

Remarks

This method requires API read access.