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": "...",
		"select": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<User> GetOne( AdvGuid id, std::optional<std::vector<AdvString>> select = std::nullopt );
public Task<User> GetOneAsync(Guid id, CancellationToken ct = default);
getOne(id: string): Promise<User>;

Parameters

id : guid

The User’s id.

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.

Only for the UI the returned user will contain the password property.