Interface: SCUserType
Hierarchy
-
SCUserType
Indexable
▪ [p: string
]: any
Custom user metadata fields
Properties
avatar
• avatar: string
Avatar of the user.
Defined in
bio
• bio: string
User biography.
Defined in
can_send_pm_to
• Optional
can_send_pm_to: boolean
If the logged user is able to send a private message to the requested user (visible only in the get a specific user api response).
Defined in
categories_counter
• Optional
categories_counter: number
Number of categories followed by the user.
Defined in
community_badge
• Optional
community_badge: boolean
If the user has the community badge active.
Defined in
connection_requests_received_counter
• Optional
connection_requests_received_counter: number
Number of connection requests received by the user.
Defined in
connection_requests_sent_counter
• Optional
connection_requests_sent_counter: number
Number of connection requests sent by the user.
Defined in
connection_status
• Optional
connection_status: string
The connection status between the request user and this user.
Defined in
connections_counter
• Optional
connections_counter: number
Number of connections of the user.
Defined in
cover
• Optional
cover: string
Image Cover of the user.
Defined in
date_joined
• date_joined: Date
Date joined to the community.
Defined in
date_of_birth
• Optional
date_of_birth: Date
Date of birth. Format: YYYY-MM-DD (ISO 8601).
Defined in
deleted
• Optional
deleted: boolean
If the user account has been deleted
Defined in
deleted_at
• Optional
deleted_at: Date
Datetime of the account deletion
Defined in
description
• description: string
User description.
Defined in
discussions_counter
• Optional
discussions_counter: number
Number of discussions created by the user.
Defined in
email
• Optional
email: string
Email of the user.
Defined in
email_isvalid
• Optional
email_isvalid: boolean
Email is valid. Default: False.
Defined in
ext_id
• Optional
ext_id: number
The external ID of the user. It is assigned only during signup if necessary.
Defined in
followers_counter
• Optional
followers_counter: number
Number of followers of the user
Defined in
followings_counter
• Optional
followings_counter: number
Number of followings of the user
Defined in
gender
• gender: string
Gender of the user. Values: Male, Female, Unspecified. Default: Unspecified.
Defined in
id
• id: number
The ID of the user.
Defined in
language
• Optional
language: SCLanguageType
User language
Defined in
location
• location: string
Location
Defined in
location_lat_lng
• Optional
location_lat_lng: string
Location in coordinates. Format: lat,lng.
Defined in
permission
• Optional
permission: string
[]
List of user permission. Only for the resource /user/me/.
Defined in
polls_counter
• Optional
polls_counter: number
Number of polls created by the user.
Defined in
position_lat_lng
• Optional
position_lat_lng: string
User current position. Format: lat,lng.
Defined in
posts_counter
• Optional
posts_counter: number
Number of posts created by the user.
Defined in
real_name
• real_name: string
Real name of the user.
Defined in
reg_approved
• Optional
reg_approved: boolean
The user is approved and can access the community
Defined in
reputation
• reputation: number
User reputation.
Defined in
role
• Optional
role: string
User role
Defined in
status
• Optional
status: string
User 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
Defined in
statuses_counter
• Optional
statuses_counter: number
Number of statuses created by the user.
Defined in
tags
• tags: SCTagType
[]
User's tag list. List of Tag.
Defined in
unseen_interactions_counter
• Optional
unseen_interactions_counter: number
interactions counter
Defined in
unseen_notification_banners_counter
• Optional
unseen_notification_banners_counter: number
notification banner counter
Defined in
username
• username: string
The username of the user.
Defined in
website
• website: string
User website.