userId
Home > @gooddata/sdk-backend-spi > IAuthenticatedPrincipal > userId
IAuthenticatedPrincipal.userId property
Unique identifier of the authenticated user.
Signature:
userId: string;
Remarks
The identifier semantics MAY differ between backend implementations. The client code SHOULD NOT make assumptions on the content (such as userId being valid email and so on).