Hello Experts,
Please help to solve below business case..
I have a SQL 'Contact' table having ContactId as GUID and ContactType columns.
A Contact can have one or more then 1 contact types, these types are of User/Super User/Bespoke/Remove Access etc.
some sample data is shown below
AD529B74-E1B8-ED11-A81B-000D3A660B07 718960009(Recognised Organisation User)
2676ED09-E6B8-ED11-A81B-000D3A660B07 718960009(Recognised Organisation User)
183C6766-0DF2-EC11-BB3D-000D3A666558 718960002(Bespoke)
183C6766-0DF2-EC11-BB3D-000D3A666558 718960004(Super User)
183C6766-0DF2-EC11-BB3D-000D3A666558 718960006(User)
183C6766-0DF2-EC11-BB3D-000D3A666558 718960009(Recognised Organisation User)
C4798A24-4F8E-EC11-B400-000D3ABA1F5C 718960006(User)
C4798A24-4F8E-EC11-B400-000D3ABA1F5C 718960007(Grant User)
C4798A24-4F8E-EC11-B400-000D3ABA1F5C 718960009(Recognised Organisation User)
now the ask is to filter contact based on below criteria.
- If contact is just setup as 'Recognised Organisation User' .
- If contact is setup as 'Recognised Organisation User' AND any other role .
How a COntactId can be filtered based on above requirements, please suggest.
Thanks in advance