Using wildcards in "If member of" group login script statements

  • 7021081
  • 10-Jul-2017
  • 10-Jul-2017

Environment

Client for Open Enterprise Server 2

Situation

Due to the large number of similarly named groups, it is desired to use wildcards in determining group membership in login script control statements. For example, given a set of groups such as:

group1-accounting
group1-sales
group1-finance
group1-manufacturing

and a login script statement such as:

IF MEMBER OF "*-accounting" THEN
     etc.

Resolution

It is not possible to use wildcards in this way.

Cause

The Client for Open Enterprise Server uses the eDirectory 'read attribute' verb to read the membership list.  That can be done only for one specific object; not a set of multiple objects.