- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
Answer to Question # 1: Yes , hosts have role value = 100
i.e. UserRoles.OWNER.
One additional note here is , if you enter using your
userName and password , there is also another parameter in
UserDescriptor called affiliation which is the role at root Level ,
that is also = 100 i.e. UserRoles.OWNER. However, if you come in as
guest , and then some host promotes you, you will still have role =
100 but an affiliation value equal to the role value you entered
with.
This affiliation parameter thus separates out host( entering
with UserName and Password) from users who are promoted to host
during the session.
Answer to Question #3: Once the user Manager is syncd, the
userCollection will have all users inside and hostCollection will
have the hosts , so you can use hostCollection.length I think for
getting number of hosts.
Thanks
Hironmay Basu
Answer to Question # 1: Yes , hosts have role value = 100
i.e. UserRoles.OWNER.
One additional note here is , if you enter using your
userName and password , there is also another parameter in
UserDescriptor called affiliation which is the role at root Level ,
that is also = 100 i.e. UserRoles.OWNER. However, if you come in as
guest , and then some host promotes you, you will still have role =
100 but an affiliation value equal to the role value you entered
with.
This affiliation parameter thus separates out host( entering
with UserName and Password) from users who are promoted to host
during the session.
Answer to Question #3: Once the user Manager is syncd, the
userCollection will have all users inside and hostCollection will
have the hosts , so you can use hostCollection.length I think for
getting number of hosts.
Thanks
Hironmay Basu
Views
Replies
0 Likes
Total Likes