Pobieranie kontekstu zalogowanego użytkownika
API
interface User {
v1: {
getIdentity(): UserIdentity
}
}
interface UserIdentity {
userId(): string,
roles(): string[],
firstName(): string,
lastName(): string,
type(): 'client'|'employee'|'otp',
system(): string
}Kontekst działania
Przykłady użycia
Pobieranie danych użytkownika
Przykład użycia w skrypcie
Ostatnia aktualizacja
Czy to było pomocne?
