Quantcast
Channel: Claims based access platform (CBA), code-named Geneva forum
Viewing all articles
Browse latest Browse all 2535

How to use regexreplace in ADFS to get AD manager

$
0
0

Hi,

 I have an ADFS claim rule, which is used for auto account creation, but I have a problem using regexreplace to get the correct manager information correctly displayed.

When using the below AAU rule:

c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"] => issue(store = "Active Directory", types = ("uid", "email", "firstname", "lastname", "ZipCode", "TC2", "TC3", "TC4", "TC5", "TC6","updateTimeStamp", "Address1", "City", "TC7", "OPhoneLocal", "country", "TC3"), query = ";mail,mail,givenName,sn,PostalCode,department,Manager,sAMAccountName,extensionattribute3,title,whenChanged,StreetAddress,l,Info,telephoneNumber,Countrycode,Manager;{0}", param = c.Value);

 

The manager information get displayed as following: CN=Manager001,OU=Managers,OU=Administration,DC=dk,DC=global,DC=net

How can I in my AAU rule only get e.g. Manager001 displayed?

/Peter



Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>