crunchy (version 0.3.3)

shinyUser: Return Crunch User Information

Description

This function returns information about the current user of the shiny app. This is useful if you want to change the behavior of the app depending on who is viewing the app. You can access elements of this record with crunch functions like name() or email().

Usage

shinyUser()

Arguments

Value

A user record if the user is logged in, otherwise a character vector or error