Method StartImpersonationAsync(long, string?, CancellationToken)

Assembly: redb.Identity.Client.dll

N7-3 — start an admin impersonation overlay (audit beacon).
Returns the resolved target user info. Requires identity:impersonate
or master identity:manage scope on the caller's bearer token.

Task<JsonElement> StartImpersonationAsync(long targetUserId, string? reason = null, CancellationToken ct = default)