Query User's Group

Query User's Group

If a user signs-in, then there should be a way to query the user's group affiliation. We can query a user's email, sign-in name, and even IP address, but not group.

This would be a nice way to display messages on html pages for certain groups in the share module, or display view data based on groups.
  1. if (zohologinusergroup == "Building_23")
  2. {
  3. // display a message
  4. }

Cheers,
John Whitney