OmniGroupServer 23.3

# User and Group Name Operations

You can carry out the following operations on user and group names by setting them for the GroupServerOpN parameter.

## EndAfter

Allows you to remove a text string from user or group names after and including a specified instance of the string.

The parameter GroupServerOpApplyToN determines whether the operation applies to usernames, group names, or both.

Use the GroupServerOpParamN parameter to specify the string you want to remove. You specify the string instance and string in the following format: `NumberOfMatchesToIgnore;StringToMatch`

This example removes the forward slash character (`/`) from group names after and including the first backslash. This could also be defined as `GroupServerOpParam0=/`.

    GroupServerOp0=EndAfter
    GroupServerOpParam0=0;/
    GroupServerOpApplyTo0=GROUP

See Also: EndAt

## EndAt

Allows you to remove a text string from user or group names after but not including a specified instance of the string.

The parameter GroupServerOpApplyToN determines whether the operation applies to usernames, group names, or both.

Use the GroupServerOpParamN parameter to specify the string you want to remove. You specify the string instance and string in the following format: `NumberOfMatchesToIgnore;StringToMatch`

This example would remove the forward slash character (`/`) from group names after but not including the third backslash.

    GroupServerOp0=EndAt
    GroupServerOpParam0=2;/
    GroupServerOpApplyTo0=GROUP

See Also: EndAfter

## Append

Appends a text string to the end of user or group names. The parameter GroupServerOpApplyToN determines whether the operation applies to usernames, group names, or both.

Use the GroupServerOpParamN parameter to specify the string you want to append.

In this example, the `example.com` domain name is added to the end of group names when group names are retrieved from the repository.

    GroupServerOpApplyTo0=GROUP
    GroupServerOp0=Append
    GroupServerOpParam0=example.com/

See Also: Prepend

## Prepend

Prepends a text string to user or group names. The parameter GroupServerOpApplyToN determines whether the operation applies to usernames, group names, or both.

Use the GroupServerOpParamN parameter to specify the string you want to prepend.

In the following example, the `example.com` domain name is added to the beginning of group names when group names are retrieved from the repository.

    GroupServerOpApplyTo0=GROUP
    GroupServerOp0=Prepend
    GroupServerOpParam0=example.com/

See Also: Append

## Replace

Replaces the first occurrence of a string in user or group names with another string. The parameter GroupServerOpApplyToN determines whether the operation applies to usernames, group names, or both.

Use the GroupServerOpParamN parameter to specify the string you want to replace and the string you want to replace it with in the format `StringToReplace;ReplacementString`.

In this example, commas (`,`) are replaced by periods (`.`) in user names when user names are retrieved from the repository.

    GroupServerOpApplyTo0=USER
    GroupServerOp0=Replace
    GroupServerOpParam0=,;.

## StartAfter

Allows you to remove a text string from user or group names up to and including a specified instance of the string.

The parameter GroupServerOpApplyToN determines whether the operation applies to usernames, group names, or both.

Use the GroupServerOpParamN parameter to specify the string you want to remove. You specify the string instance and string in the following format: `NumberOfMatchesToIgnore;StringToMatch`.

The following example would remove the forward slash character (`/`) from group names up to and including the first backslash. This can also be defined as `GroupServerOpParam0=/`.

    GroupServerOp0=StartAfter
    GroupServerOpParam0=0;/
    GroupServerOpApplyTo0=GROUP

See Also: StartAt

## StartAt

Allows you to remove a text string from user and group names up to but not including a specified instance of the string.

The parameter GroupServerOpApplyToN determines whether the operation applies to usernames, group names, or both.

Use the GroupServerOpParamN parameter to specify the string you want to remove. You specify the string instance and string in the following format: `NumberOfMatchesToIgnore;StringToMatch`.

The following example would remove the forward slash character (`/`) from group names up to but not including the third backslash.

    GroupServerOp0=StartAt
    GroupServerOpParam0=2;/
    GroupServerOpApplyTo0=GROUP

See Also: StartAfter

## ToUTF8

This will convert all user or group names from the encoding specified in the GroupServerOpParamN setting to `UTF8`.

Use the GroupServerOpParamN parameter to specify the encoding you want to convert from.

In order for the `ToUTF8` operation to work, you must use the GroupServerConvTablesDirectory setting in the `[Default]` section to specify the location of the conversion tables directory.

In this example, user names are converted from ASCII encoding to UTF8.

    GroupServerOpApplyTo0=USER
    GroupServerOp0=ToUTF8
    GroupServerOpParam0=ASCII

Related Topics

- GroupServerOpN
- GroupServerOpApplyToN
- GroupServerOpParamN

Copyright 2023 Open Text
Version 23.3 | Last updated June 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL OmniGroupServer 23.3

Topic Title: User and Group Name Operations