Skip to Content
Dec 09, 2022 at 04:43 AM

SAP GRC - Get domain value from distinguishedName attribute for SNC


Hello Everyone,

We have a requirement where user created using GRC should have SNC filled in p:#!#USERID#!#@<domain>.<company>.com format. We can hardcode company name but <domain> value depends on a country.

distinguishedName attribute in AD brings a long string which contains the domain we need, but it truncates at 40 chars.

How can I read let's say a particular DC value from that string.

Thank You