PhenixID

Remove Value

Version: 1.8

Category: Process
Extended Category: Remove

Action Package: Standard Actions

Description

Remove a value from a session attribute

Parameter

Description

Example

Attribute to Check

The Attribute to Check. Use one of the parameters below to decide what value(s) to remove.

description

Value to Remove from Attribute

The value to remove. Use SESSION(attributeName) to insert a session attribute value. Can not be used with the parameters below. Default is blank.

SESSION(title)

Remove Multiple Occurrences in Multivalue (false/true)

Check if a multivalue string has multiple occurrences of a value. If so, remove all but 1 value. Can not be used with parameter 2 or 5. (true/false) Default: false.

false

Case Sensitive When Removing Multiple Occurrences (true/false)

When using parameter 3 to remove multiple occurrences in a multivalue attribute, set this to false remove multiple occurrences independent of the case. (true/false) Default: true.

false

Remove all values (true/false)

Remove all the values from the Session Attribute. Can not be used with parameter 2 or 3. (true/false) Default: false.

true

Use Cases

Example 1: Remove objectClass from object

Remove the objectClass neExtraUser from the session object.

Parameter

Value

Attribute to Check

objectClass

Value to Remove from Attribute

neExtraUser

Remove Multiple Occurrences in Multivalue (false/true)

[BLANK]

Case Sensitive When Removing Multiple Occurrences (true/false)

[BLANK]

Remove all values (true/false)

[BLANK]

Example 2: Remove multiple occurrences

The attribute postalcode is multivalue and might contain the same value more than once. This Action will remove the duplicates so there will only be one occurrence of each value in the attribute. The action will make the comparison with no sensitivity for case.

Parameter

Value

Attribute to Check:

postalcode

Value to Remove from Attribute:

[BLANK]

Remove Multiple Occurrences in Multivalue (false/true)

true

Case Sensitive When Removing Multiple Occurrences (true/false)

false

Remove all values (true/false)

[BLANK]

Example 3: Delete all values in an attribute

This Action removes all values in the attribute mobile.

Parameter

Value

Attribute to Check:

mobile

Value to Remove from Attribute:

[BLANK]

Remove Multiple Occurrences in Multivalue (false/true)

[BLANK]

Case Sensitive When Removing Multiple Occurrences (true/false)

[BLANK]

Remove all values (true/false)

true


DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se