Equinox Online Help - Language Reference - A to Z

Home

IsUserGroupAttached

Applies to
SyntaxIsUserGroupAttached (GroupNameExpression)
Action[Function] Provides connection information regarding a specified user group.
ScopeUsable anywhere.
Notes

This function is used to determine whether a particular user group specified by GroupNameExpression is currently attached. It returns the number of logins for that particular group.

CategoryClient - Server
See Also ConnectionID, FirstAttachedUser, IsNetwork, IsUserAttached, NextAttachedUser, RemoveAttachedUser
Example

This example prints a snapshot of how many logins each user group is responsible for. The ones showing zero could show redundant user groups.

string GroupName

FirstUserGroup GroupName
Print "Report of current logins per user group:"

while not syserror
| Print Groupname and number of connections.
Print Groupname, IsUserGroupAttached(GroupName)

| Fetch next user
NextUserGroup GroupName
end while