Table of Contents

ADRemoveDomainValve

Note

In Microsoft Active Directory login often occur according to these examples:
Contoso\bobbyc bobbyc@contoso.local

This valve will remove the domain part and only keep the login name, bobbyc:

Contoso\bobbyc -> bobbyc  
bobbyc@contoso.local -> bobyc

If no items are found, new value will be set on flow attribute. If items are found, new value will be set on first item.

Does not support item sets of more than one.

Properties

Name Description Default value Mandatory Supports property expansion
uid_param_name Source attribute User-Name No Yes
uid_attribute_name New target attribute username No No

Example Configuration

{
    "name": "ADRemoveDomainValve",
    "config": {
     "uid_param_name":"{{request.upn}}",
     "uid_attribute_name":"cleanUpn"
    }
}