public class UserInfo extends User implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
int |
changesetsCount
aka the number of edits
|
java.util.Date |
createdDate |
int |
gpsTracesCount |
boolean |
hasAgreedToContributorTerms |
boolean |
isBlocked
whether the user is currently blocked (=cannot make any modifications on the map).
|
java.lang.String |
profileDescription
The profile description is formatted with markdown.
|
java.lang.String |
profileImageUrl
URL to the user's profile picture.
|
java.util.List<java.lang.String> |
roles
may be null if the user has no roles
|
displayName, id| Constructor and Description |
|---|
UserInfo(long id,
java.lang.String displayName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasRole(java.lang.String roleName)
whether this user holds the given role.
|
boolean |
isAdministrator() |
boolean |
isModerator() |
public java.util.Date createdDate
public int changesetsCount
public int gpsTracesCount
public java.lang.String profileImageUrl
public java.lang.String profileDescription
public boolean hasAgreedToContributorTerms
public java.util.List<java.lang.String> roles
public boolean isBlocked