I have a field in my dBase that contains the Active Directory Distinguished Name, that I need to filter on to separate account types. The data string in the field will look like this for a user account:
CN=Lapp\, Lawrence E. (Larry) (TUC) ISSO,OU=Users,OU=Tucson (TUC),OU=VISN18,DC=v18,DC=med,DC=va,DC=gov
And this for a service account:
CN=Admin\, Dental,OU=Service Accounts,OU=Tucson (TUC),OU=VISN18,DC=v18,DC=med,DC=va,DC=gov
I need to filter on either the word User or Service (bolded) so I can pull the different account type to their respective tabs. I have tried a like filter with a wild card parameter and that didn't work.
Any assistance would be great.
CN=Lapp\, Lawrence E. (Larry) (TUC) ISSO,OU=Users,OU=Tucson (TUC),OU=VISN18,DC=v18,DC=med,DC=va,DC=gov
And this for a service account:
CN=Admin\, Dental,OU=Service Accounts,OU=Tucson (TUC),OU=VISN18,DC=v18,DC=med,DC=va,DC=gov
I need to filter on either the word User or Service (bolded) so I can pull the different account type to their respective tabs. I have tried a like filter with a wild card parameter and that didn't work.
Any assistance would be great.