Skip to contents

Based on login credential, returns information on the user accessing the Nettskjema PI

Usage

ns_get_me()

Value

list of information

Examples

ns_get_me()
#> $hasAccessForCourseEvaluation
#> [1] FALSE
#> 
#> $isPersonalDataResponsible
#> [1] FALSE
#> 
#> $displayName
#> [1] "ccda25ce-8256-4c6f-ba71-7a4357dc6caf@apiclient"
#> 
#> $logoutLink
#> [1] "/signout"
#> 
#> $isSuperUser
#> [1] FALSE
#> 
#> $isAuthenticated
#> [1] TRUE
#> 
#> $userType
#> [1] "UNKNOWN_ROLE"
#> 
#> $hasAcceptedTos
#> [1] TRUE
#> 
#> $isSupportUser
#> [1] FALSE
#> 
#> $isAdministrativeUser
#> [1] TRUE
#>