I have a list of different AD accounts with certain permissions on our network. This list includes Users and Groups, however does not mention which is which. I have separate LDAP queries that I can run from Access to pull information based on whether the objectClass is User or Group. What I am wondering is: Is there a way to build a check in the code that basically says "If objectClass=User Then Run UserLdap Else Run GroupLdap"?
Or maybe take advantage of SELECT CASE?
Obviously the sample above is incredibly basic and not how I would actually set it up, but I wanted to describe the idea I had in my head.
Or maybe take advantage of SELECT CASE?
Obviously the sample above is incredibly basic and not how I would actually set it up, but I wanted to describe the idea I had in my head.