UserPreference
UserPreference.RdA UserPreference represents a user preference in the system.
Examples
if (FALSE) { # \dontrun{
## Inspecting a user's preferences
# UserPreference objects are found in the `preferences` field of a UserProfile
library(synapser)
synLogin()
profile = UserProfile |> synGetFromUsername(username = "myUsername")
for (preference in profile$preferences) {
print(sprintf("%s: %s", preference$name, preference$value))
}
} # }