Restrict WCF Web Service functionality based on User Group

前端 未结 3 1826
南方客
南方客 2021-01-01 02:37

I have a WCF Web Service which is consuming by C# client application. I’m also having 4 groups stored in Active Directory. Client application is passing user credentials to

3条回答
  •  情书的邮戳
    2021-01-01 03:15

    Try Adding the Principalpermission attribute on the method in service class not on the operation contract in the service interface.

提交回复
热议问题