Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
service in functions, Do not display for everyone

my English is not good
please give me example project or video

I useing C#
thank you

http://g1206.hizliresim.com/y/h/7z10f.png[^]
Posted
Updated 15-Jun-12 3:31am
v3

1 solution

Here is a bit of reading material:
Authorization In WCF-Based Services[^]
Authentication, Authorization, and Identities in WCF[^]
Authorization[^]
The last links shows how easy it can be done.


And here is an example:
Custom Authorization in WCF[^]

This one may also be interesting:
WCF REST 4.0 Authorization with Form Based authentication (SetAuthCookie)[^]

[Update]
How to: Use the ASP.NET Role Provider with a Service[^]

Example[^]

Best regards
Espen Harlinn
 
Share this answer
 
v3
Comments
Manas Bhardwaj 15-Jun-12 11:13am    
Good answer +5
Espen Harlinn 15-Jun-12 12:38pm    
Thank you, Manas!
Sandeep Mewara 15-Jun-12 11:55am    
Good bunch of links. 5!
Espen Harlinn 15-Jun-12 12:38pm    
Thank you, Sandeep!
anatolium 16-Jun-12 11:38am    
hello

An example of this correct? because They are not local user,they are users that are members

are you can give me sample code ?

Thank you for helping

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