Anybody has a .NET code sample to get all those Audience groups to
which the currently logged in user belongs to?
To be more specific -
Assume we have defined 4 Audience groups A, B, C and D
Assume user1 is member of A and B, user 2 is A, C and D and user3
doesnot belong to any of the Audience group.
I want to develop a custom web part. This web part should display
those audience names to which the current user is a member.
For example, When user1 logs on to the portal, this web part should
display "A and B", to user2 it should show "A, C and D" and to user3
it should not dispaly anything.
How to write code using either .NET APIs or WSS web services to
achieve this.
Anybody has a code sample for this?
Please send me the information. I am new to SPS 2003.
Do you know someone who can help? Share a link to this thread on twitter, or facebook.