I am trying to simplify the way we correlate a secondary AD Account. After looking into the documentation around Offset and Length, per what I am seeing this is mainly from the perspective of
"Start at this Index and only take X characters".
My question is, is it possible to approach it from this way "
Take all Characters from 0 to (Attribute Length - X), where X is a constant value but Attribute Length isn't". So for example if I had the following:
Global User Attribute =
CustomField01 = Williams, Pete - Peter
Active Directory Attribute =
NT_AccountID = Williams, Pete - Peter ADM
If I know the
NT_AccountID will always be in this format
"%UCU01% ADM", is it possible to say do the correlation match on:
(Start of NT_AccountID) to ((Length of NT_AccountID) - 4)
or
Williams, Pete - Peter ADM