Not receiving user email addresses from search endpoint
I have a script that queries the search endpoint for information about Khoros users. The API call looks roughly like /api/2.0/search?q=SELECT id, email FROM users LIMIT 10 When developing this script against one Khoros installation, I found that the Khoros user associated with the API request needed to have several "User Management" permissions granted to it in order to receive email addresses via this API call. (In particular, granting "View user reports in Admin Metrics", "Manage roles, user bans, and abuse notifications in admin and user profiles", and "Manage roles in user profiles" seemed to be sufficient.) However, when running this script against a second Khoros installation, I am not receiving back any email addresses. Every single user returned has the empty string as their email address, and I've tried querying several hundred (all of whom should have emails). For instance, a response may look similar to the below (redacted) sample: { "status": "success", "message": "", "http_code": 200, "data": { "type": "users", "list_item_type": "user", "size": 10, "items": [ { "type": "user", "id": "1000000", "email": "" }, ...additional users removed for brevity... ], "next_cursor": "AbCdEf" }, "metadata": {} } I have double-checked the roles and permissions for the Khoros user I'm using for this API request. What's the best way to debug? What are some other reasons that I may not be receiving any email addresses?271Views
Sign in to react to this post0Comments
Select messages where user *doesn't have* FooBar role?
Objective: Create message list of messages posted by non-employees. SELECT yada, yoda FROM messages WHERE depth = 0 ** AND USER DOESN'T HAVE EMPLOYEE ROLE ** ORDER BY conversation.last_post_time LIMIT 100 From the LiQL reference, I don't see a constraint that will allow this. Is this possible?505Views
Sign in to react to this post2Comments
Can we Bulk Import "Category Expert" Contextual Roles?
I have over a hundred "Category Experts" to add to 26 boards. (different experts per board.) In the documentation, I do not see anything on Bulk Import supporting contexts, so I'm assuming it's not possible. https://community.khoros.com/t5/Roles-and-permissions/Import-user-roles-from-a-CSV-file/tac-p/731416#M194 Does anyone know otherwise?431Views
Sign in to react to this post2Comments
How to create API accessible user account with Community
I am new to Khoros platform and want to crawl data from community. For that I did signup process with one lithium community and got my username and password. I am trying to authenticate myself with via retrieve-the-session-key but api response says curl --location --request \ POST 'https://community.alteryx.com/restapi/vc/authentication/sessions/login' \ --form 'user.login=dshrm' \ --form 'user.password=****' <response status="error"> <error code="302"> <message> User authentication failed. </message> </error> </response> I am trying to get user details via LiQl basic query `select * from users limit 1` What exactly process do I need to follow to authenticate myself ?1.7KViews
Sign in to react to this post11Comments
Can I assign signatures to everyone who doesn't have one?
I'd like to - by default - set users' signatures to their name (First Last) Our users' First & Last names are getting passed in by our IdP/SSO. I'm under the impression this can't be done automatically, BUT, is it possible to create a script to run periodically that'll do: for each user{ if (signature == ""){ signature = First Last } } If so that'd be sweet466Views
Sign in to react to this post1Comment
Permissioning for Limited Access Areas - am I about to do it wrong?
I'm about to configure boards for our partners & customers, who will have limited access....and the method I'm about to try seems too extensive to be the right way. For most of our community, we have an internal/external parallel structure, like: Product Forums Product A (category) Product A Forum [internal] Product A Forum Product A TKB Product B (category) Product B Forum [internal] Product B Forum Product B TKB etc. Objectives: Employees have access to everything. Partners & Customers don't have access to anything labeled "[internal]" Role Permissions (as of now) All Registered Users (auto-assign on registration): CAN'T view or participate in Employees (passed in by our IdP): CAN view & participate in all areas So far so good. But, we have a test partner (Dave) with the role "Client/Partner" (as passed in by our IdP). I'd like to open up all boards (except internal) for the Client/Partner role so Dave can hop in and participate. How should I configure this? (without guidance, I'd go into each non-internal forum, and configure the Client/Partner role to be able to view/post/etc. But that seems excessive - it'll involve making the same configuration like 25 times for *each* role that needs permissions, AND having to keep up with this with each new board we launch.)488Views
Sign in to react to this post3Comments
Migrating Posts & Users to SSO
We have a large group of external users who don't have SSO accounts set up yet (and we're a few months away). Can we allow 50-200 of them to register now (non-SSO) then later on, port their posts & badges to their SSO account?Solved593Views
Sign in to react to this post2Comments
Yes, you can setup non SSO accounts for them as of now. But after a couple of months, you will be on same stage where we are today.
I am working on a similar request below -
If there is a way to combine/convert users in Khoros?
Example: User1 was a member (registered through Khoros Native Reg), after a month, they become Customers.
Is there a way to covert their member account to a customer account? We use Customer Okta for authentication (OIDC)
Is there a way to combine/merge their member account to a customer account? In this scenario, they have two usernames User1 and User2
In our case, we generate SSO id on our product and then redirect them on the community where he need to fill the username for new SSO profile.
As per my understanding, activity migration(Posts, badges, kudos etc) from old non SSO user to new SSO user is not easy. We are planning to assign this new SSO id to those non SSO profiles so that users can retain their contribution activity logs in the profile.Sign in to react to this post
configure the server with cache parameter
I would like to configure the server with cache parameter. Configure our server to return the Cache-Control HTTP response header: Cache-Control: max-age=31536000 Can someone assist me in doing this? Where should I update this detail?546Views
Sign in to react to this post3Comments
How to update an user role to a user through an API call
Tried updating the user role to an user by using an API call put: {{khoros_base_uri}}/api/2.0/users/295 BODy: "data": { "type": "user", "roles_to_add": ["t:'ECMS 2'"] }} responce: 200 success Now i used a Get call to check the role is updated in the user profile. Get: {{khoros_base_uri}}/api/2.0/search?q=SELECT * FROM roles WHERE users.id = '295' Response : 200 success But the role is not added to the user data in get call please let me know Thanks surendra409Views
Sign in to react to this post1Comment