This method receives information about the current comment being written and a prefix of the user name to search, and returns a list of suggested users for auto-complete.
Note: This method is also supported in our REST API. If you wish to execute this method from your server, please refer toREST API > comments.getRelatedUsers.
The following table lists the available parameters:
|||categoryID||string||The identifier of the current comments category.|
|||streamID||string||The identifier of the current comments stream.|
|||parentCommentID||string||The identifier of the parent of the comment that is being written. If the current comment is not a reply, the value is null.|
|||limit||integer||The maximum number of users to retrieve. The default value is 10. The maximum possible value to set is 25.|
|||usernamePrefix||string||A prefix of the user name to search.|
Response Object Data Members
|users||Array of objects||An array containing the suggested users for auto-complete. Each object includes the following fields:|