Get a specific user by id. Returns more info than the public user route.
Catalog: Discourse
Schema: Admin
This is a read-only table function. The Discourse API may not support changing the data or the Invantive SQL driver for Discourse does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Discourse API.
Select Discourse API URL: /admin/users/{id}.json
Insert Discourse API URL: /admin/users/{id}.json
Update Discourse API URL: /admin/users/{id}.json
Delete Discourse API URL: /admin/users/{id}.json
Field Selection Method: NotRequired
Base Path: groups[*]
Select Discourse API Operation: get /admin/users/{id}.json
The following parameters can be used to control the behaviour of the table function AdminUsers_GroupsById. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be treated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example with `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
Name |
Data Type |
Required |
Default Value |
Documentation |
---|---|---|---|---|
id |
string |
☑ |
|
|
The columns of the table function AdminUsers_GroupsById are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
active |
boolean |
Active |
☐ |
|
admin |
boolean |
Administrator |
☐ |
|
allow_membership_requests |
boolean |
Allow Membership Requests |
☑ |
|
automatic |
boolean |
Automatic |
☑ |
|
automatic_membership_retroactive |
boolean |
Automatic Membership Retroactive |
☑ |
|
avatar_template |
string |
Avatar Template |
☐ |
|
badge_count |
decimal |
#Badges |
☐ |
|
bounce_score |
decimal |
Bounce Score |
☐ |
|
can_activate |
boolean |
Can Activate |
☐ |
|
can_be_anonymized |
boolean |
Can Be Anonymized |
☐ |
|
can_be_deleted |
boolean |
Can Be Deleted |
☐ |
|
can_deactivate |
boolean |
Can Deactivate |
☐ |
|
can_delete_all_posts |
boolean |
Can Delete All Posts |
☐ |
|
can_disable_second_factor |
boolean |
Can Disable Second Factor |
☐ |
|
can_grant_admin |
boolean |
Can Grant Admin |
☐ |
|
can_grant_moderation |
boolean |
Can Grant Moderation |
☐ |
|
can_impersonate |
boolean |
Can Impersonate |
☐ |
|
can_revoke_admin |
boolean |
Can Revoke Admin |
☐ |
|
can_revoke_moderation |
boolean |
Can Revoke Moderation |
☐ |
|
can_send_activation_email |
boolean |
Can Send Activation Email |
☐ |
|
can_view_action_logs |
boolean |
Can View Action Logs |
☐ |
|
created_at |
string |
Created at |
☐ |
|
created_at_age |
decimal |
Created at Age |
☐ |
|
days_visited |
decimal |
Days Visited |
☐ |
|
default_notification_level |
decimal |
Default Notification Level |
☑ |
|
display_name |
string |
Display Name |
☑ |
|
flag_level |
decimal |
Flag Level |
☐ |
|
flags_given_count |
decimal |
Flags Given Count |
☐ |
|
flags_received_count |
decimal |
Flags Received Count |
☐ |
|
full_suspend_reason |
string |
Full Suspend Reason |
☐ |
|
has_messages |
boolean |
Has Messages |
☑ |
|
id |
decimal |
ID |
☑ |
|
id_1 |
decimal |
ID 1 |
☐ |
|
ip_address |
string |
IP Address |
☐ |
|
last_emailed_age |
decimal |
Last Emailed Age |
☐ |
|
last_emailed_at |
string |
Last Emailed at |
☐ |
|
last_seen_age |
decimal |
Last Seen Age |
☐ |
|
last_seen_at |
string |
Last Seen at |
☐ |
|
like_count |
decimal |
#Likes |
☐ |
|
like_given_count |
decimal |
Like Given Count |
☐ |
|
mentionable_level |
decimal |
Mentionable Level |
☑ |
|
messageable_level |
decimal |
Messageable Level |
☑ |
|
moderator |
boolean |
Moderator |
☐ |
|
name |
string |
Name |
☑ |
|
name_1 |
string |
Name 1 |
☐ |
|
post_count |
decimal |
#Posts |
☐ |
|
posts_read_count |
decimal |
Posts Read Count |
☐ |
|
primary_group |
boolean |
Primary Group |
☑ |
|
private_topics_count |
decimal |
Private Topics Count |
☐ |
|
public_admission |
boolean |
Public Admission |
☑ |
|
public_exit |
boolean |
Public Exit |
☑ |
|
registration_ip_address |
string |
Registration IP Address |
☐ |
|
staged |
boolean |
Staged |
☐ |
|
suspended |
boolean |
Suspended |
☐ |
|
suspended_at |
string |
Suspended at |
☐ |
|
suspended_by_avatar_template |
string |
Suspended by Avatar Template |
☑ |
|
suspended_by_id |
decimal |
Suspended by ID |
☑ |
|
suspended_by_username |
string |
Suspended by Username |
☑ |
|
suspended_till |
string |
Suspended till |
☐ |
|
time_read |
decimal |
Time Read |
☐ |
|
topic_count |
decimal |
#Topics |
☐ |
|
topics_entered |
decimal |
Topics Entered |
☐ |
|
trust_level |
decimal |
Trust Level |
☐ |
|
user_count |
decimal |
#Users |
☑ |
|
username |
string |
User Name |
☐ |
|
username_lower |
string |
Username Lowercase |
☐ |
|
visibility_level |
decimal |
Visibility Level |
☑ |
|
warnings_received_count |
decimal |
Warnings Received Count |
☐ |
|
12-12-2020 18:47 Version 20.1.301-BETA+3023