We help IT Professionals succeed at work.

Find User in Windows Authentication in WCF

praveen1981
praveen1981 asked
on
Hi
I am using the windows authentication in WCF , now i want to check whether the user belongs to perticular role or not
can you please say me where can i write this code in WCF.


Comment
Watch Question

Author

Commented:
Hi

The above links doesn't says that in which event i need to capture the user details for validation in WCF ,

can you please suggest.
AFAIK, such role checking needs to be done at the operation level as shown in this link where it checks whether current user belongs to the "administrators" group.

Author

Commented:
Thanks, it solved.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.