I want to be able to hide the user that's logged into the room console from the list of users. Is there any way to identify that user?
Solved! Go to Solution.
Views
Replies
Total Likes
For a particular account, there should be only one user able to log into
the console (the account owner) - that user will have a fixed userID
(WCD-xxxxxx). You could use that (provided that same user doesn't log into
the real app and expect to be seen).
nigel
Views
Replies
Total Likes
Hi,
There is no standard way to hide users as such other than using anonymous presence. But the catch is, if you would set any property of change anything from dev console that publishes a message, then you will be noticed.
The user that logs into the room console is always the owner, may be your client app, you can hide based on your both permission level and name/userID by subclassing Roster. I am just throwing up ideas, but as such there is no standard method for this.
Whats your use case ? It's an interesting thought though and something we would think about on our side.
Hope this helps
Thanks
Hironmay Basu
My use case is that my users are in the room and sometimes things get stuck. (Typically because they did something that I didn't expect.) I'd like to be able to unstick them without having to show my presence.
Maybe you guys could setup the console user as having permission level 101. (I believe that the owner permission is 100.) 101 could indicate that it's not a typical user connected but rather a maintenance process.
I suppose, alternatively, I could use the owner role to indicate that and change the rest of the roles to work within that.
thanks for your help
Views
Replies
Total Likes
For your case, you could build a custom roster UI which only displays the
users you desire - the UI is just UI, so you have control over what gets
displayed. You could use UserManager's USER_CREATE and USER_REMOVE events to
detect folks coming and going, and display whomever is appropriate.
hope that helps
nigel
Views
Replies
Total Likes
How do I determine which user is the LCCS console user?
Do I have to just filter that user out by name? Or is there a more general way to do it?
-sandy
Views
Replies
Total Likes
For a particular account, there should be only one user able to log into
the console (the account owner) - that user will have a fixed userID
(WCD-xxxxxx). You could use that (provided that same user doesn't log into
the real app and expect to be seen).
nigel
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies