synGetUserProfile | R Documentation |
Get the details about a Synapse user. Retrieves information on the current user if 'id' is omitted.
synGetUserProfile(id=NULL, sessionToken=NULL, refresh=NULL)
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 |
The user profile for the user of interest.
## Not run:
my_profile <- synGetUserProfile()
freds_profile <- synGetUserProfile('fredcommo')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.