Closed srnilssen closed 4 years ago
https://github.com/ItemConsulting/enonic-types/blob/60654bad3ee4171a19cd381658c19c3a5e9e219a/src/auth.ts#L68
The getPrincipal function returns null if no principal is found according to the docs.
https://github.com/ItemConsulting/enonic-types/blob/60654bad3ee4171a19cd381658c19c3a5e9e219a/src/auth.ts#L68
The getPrincipal function returns null if no principal is found according to the docs.