UserObject: Create New User Object

Description Usage Arguments Details Value

View source: R/utils_user_management.R

Description

A User object represents all the useful information to know about a user: 'user_id' the unique ID used throughout the app. If 0, then the user is unregistered. 'firebase_id' if user is logged in, this is their valid Firebase ID. You cannot have a 'firebase_id' without a non-zero 'user_id' 'privilege' char string representation of the privilege level ("admin", "user")

Usage

1
UserObject(con, user_id = NULL, firebase_obj = NULL)

Arguments

con

valid database connection

user_id

User ID

firebase_obj

Firebase object

Details

user_management

Value

The return value, if any, from executing the utility.


personalscience/taster documentation built on Feb. 5, 2022, 9:27 p.m.