|
| KiXtart 2001 Manual |
InGroup( )
| Action: | Checks
whether the current user is a member of a group. |
||||
| Syntax: | INGROUP
("group name") |
||||
| Parameters: |
Group
name
|
||||
| Remarks: |
INGROUP
can be used to check for groupmembership of groups that exist on the
domain or server where the user is logged on, or to check for
groupmembership of groups on a specific domain or server.
When checking for a local group, INGROUP identifies that the user is indirectly a member of the group by virtue of being a member of a global group which, in turn, is a member of the local group. If you want to check for membership in a group on a specific domain or server, use the following format: "OtherDomain\group" |
||||
| Returns: |
|
||||
| See Also: |
EnumGroup(
), EnumLocalGroup( ), Group
Membership Information |
||||
| Examples: |
IF
INGROUP("Domain Users") IF
INGROUP("\\" + @WKSTA + "\Developers") |