Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello everyone,

i just to clear one thing that is is possible or not

So the question is:



I have a WCF Service which is having 4 Operation-contract/function and i am having two different clients/user now what i want is Is That possible to show 2 function to one user and another 2 function to 2nd user.
Posted
Comments
Sergey Alexandrovich Kryukov 23-Apr-14 10:03am    
You probably mean not two users, but two different roles defined preliminary. Of course, it's possible to have different interfaces for them, but the problem is: what do you mean by "show a function"? :-)
—SA
Er Daljeet Singh 25-Apr-14 1:49am    
Thanks,
"show a function" means the function that are visible to user via OperationContext.
Can u post some code for how to implement two interfaces in a service.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900