synGetUserProfile: synGetUserProfile

synGetUserProfileR Documentation

synGetUserProfile

Description

Get the details about a Synapse user. Retrieves information on the current user if 'id' is omitted.

Usage

synGetUserProfile(id=NULL, sessionToken=NULL, refresh=NULL)

Arguments

id

optional named parameter: The 'userId' (aka 'ownerId') of a user or the userName

sessionToken

optional named parameter: The session token to use to find the user profile

refresh

optional named parameter: If set to TRUE will always fetch the data from Synape otherwise
will use cached information

Value

The user profile for the user of interest.

Examples

## Not run: 
my_profile <- synGetUserProfile()
freds_profile <- synGetUserProfile('fredcommo')

## End(Not run)

Sage-Bionetworks/synapseclient documentation built on Feb. 9, 2024, 4:26 p.m.