Skip to main content

SCUserModerationType

SCUserModerationType interface

Extends

Properties

PropertyTypeDescriptionInherited from
avatarstringAvatar of the user.SCUserType.avatar
biostringUser biography.SCUserType.bio
blocked_atstring | DateBlock start date-
can_send_pm_to?booleanIf the logged user is able to send a private message to the requested user (visible only in the get a specific user api response).SCUserType.can_send_pm_to
categories_counter?numberNumber of categories followed by the user.SCUserType.categories_counter
community_badge?booleanIf the user has the community badge active.SCUserType.community_badge
connection_requests_received_counter?numberNumber of connection requests received by the user.SCUserType.connection_requests_received_counter
connection_requests_sent_counter?numberNumber of connection requests sent by the user.SCUserType.connection_requests_sent_counter
connection_status?stringThe connection status between the request user and this user.SCUserType.connection_status
connections_counter?numberNumber of connections of the user.SCUserType.connections_counter
cover?stringImage Cover of the user.SCUserType.cover
date_joinedDateDate joined to the community.SCUserType.date_joined
date_of_birth?DateDate of birth. Format: YYYY-MM-DD (ISO 8601).SCUserType.date_of_birth
days_blocked?numberNumber of days of block duration (if none and block date set, it means forever)-
deleted?booleanIf the user account has been deletedSCUserType.deleted
deleted_at?DateDatetime of the account deletionSCUserType.deleted_at
descriptionstringUser description.SCUserType.description
discussions_counter?numberNumber of discussions created by the user.SCUserType.discussions_counter
email?stringEmail of the user.SCUserType.email
email_isvalid?booleanEmail is valid. Default: False.SCUserType.email_isvalid
expire_atstring | DateDate on which the auto unblock will take place-
ext_id?numberThe external ID of the user. It is assigned only during signup if necessary.SCUserType.ext_id
flags_given?numberNumber of flags given by the user-
flags_received?numberNumber of flags received by the user (in its contents)-
followers_counter?numberNumber of followers of the userSCUserType.followers_counter
followings_counter?numberNumber of followings of the userSCUserType.followings_counter
genderstringGender of the user. Values: Male, Female, Unspecified. Default: Unspecified.SCUserType.gender
idnumberThe ID of the user.SCUserType.id
language?SCLanguageTypeUser languageSCUserType.language
last_score_variation?SCUserScoreVariation[]Full description of the last score variation made by a moderator.-
last_seen?string | DateDate on which the user has been seen in the community-
locationstringLocationSCUserType.location
location_lat_lng?stringLocation in coordinates. Format: lat,lng.SCUserType.location_lat_lng
permission?string[]List of user permission. Only for the resource /user/me/.SCUserType.permission
polls_counter?numberNumber of polls created by the user.SCUserType.polls_counter
position_lat_lng?stringUser current position. Format: lat,lng.SCUserType.position_lat_lng
posts_counter?numberNumber of posts created by the user.SCUserType.posts_counter
real_namestringReal name of the user.SCUserType.real_name
reg_approved?booleanThe user is approved and can access the communitySCUserType.reg_approved
reputationnumberUser reputation.SCUserType.reputation
role?stringUser roleSCUserType.role
status?stringUser status. Values: a (approved), b (blocked), d (deleted; soft deleted), u (unregistered). Default: a.
A blocked user can't:
- create contribution (post/discussion/status)
- create comment
- vote/unvote contribution
- follow/connect user
- edit contribution
- suggest an incubator
- flag a contribution
- send a private message
- edit info profile
but he can't:
- follow/unfollow a post/discussion/status
- follow/unfollow a category
- unfollow user
SCUserType.status
statuses_counter?numberNumber of statuses created by the user.SCUserType.statuses_counter
tagsSCTagType[]User's tag list. List of Tag.SCUserType.tags
unseen_interactions_counter?numberinteractions counterSCUserType.unseen_interactions_counter
unseen_notification_banners_counter?numbernotification banner counterSCUserType.unseen_notification_banners_counter
usernamestringThe username of the user.SCUserType.username
websitestringUser website.SCUserType.website