Hi,
I have an Excel report, which pulls information from a database. The data is sensitive to each user so I would like the query to return the relevant data only for that logged-in user. The complication appears to be matching up the current logged-in user with the users in the database.
The database holds its own list of usernames which are made up of users initials, so user Joe Bloggs is JSB.
In Active Directory, we store these user initials in the AD property 'initials'.
For us, this is the most accurate way of linking the logged in user with the correct user in the database. Using any other method (such as the Application.Username) would not be reliable for us.
Is there a way to query AD for the 'initials' value then pass this to the query?
Kind regards and thanks in advance.
I have an Excel report, which pulls information from a database. The data is sensitive to each user so I would like the query to return the relevant data only for that logged-in user. The complication appears to be matching up the current logged-in user with the users in the database.
The database holds its own list of usernames which are made up of users initials, so user Joe Bloggs is JSB.
In Active Directory, we store these user initials in the AD property 'initials'.
For us, this is the most accurate way of linking the logged in user with the correct user in the database. Using any other method (such as the Application.Username) would not be reliable for us.
Is there a way to query AD for the 'initials' value then pass this to the query?
Kind regards and thanks in advance.