开发者

In WCF how do I access the user the service is running as?

I have a WCF service hosted in IIS and want to gain access to the user the service runs as - not the caller. Is this possible?

I know about the aspNetCompatibilityEnabled, but that gives me the user calling the service, not the user the servic开发者_开发知识库e is running under.


How about System.Environment.UserName?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜