Hi,
Is there any way of hiding a field based on an AD group of the user running the t-SQL/SP. I was think of a function that you could call that checked the AD group and then returned TRUE if they belonged in the required AD group. Then you could substitute a fields contents with something else (i.e. 'ANON').
We currently have hospital data that we need to anonymise/pseudonymise at the query level if a person is not in an AD group (because they have not received training on a hospital system).
Any help appreciated.
Jonathan
Is there any way of hiding a field based on an AD group of the user running the t-SQL/SP. I was think of a function that you could call that checked the AD group and then returned TRUE if they belonged in the required AD group. Then you could substitute a fields contents with something else (i.e. 'ANON').
We currently have hospital data that we need to anonymise/pseudonymise at the query level if a person is not in an AD group (because they have not received training on a hospital system).
Any help appreciated.
Jonathan