tenantId property

String? tenantId

The current user's tenant ID.

This is a read-only property, which indicates the tenant ID used to sign in the current user. This is null if the user is signed in from the parent project.

Implementation

String? get tenantId {
  return _user.userInfo.tenantId;
}