开发者

How to get effective permissions for a user on AD LDS entry in C#?

I have 3rd part开发者_StackOverflow中文版y application using AD LDS to store its hierarchical data and I need to provide web UI in ASP.NET MVC for this system. It is using DACLs on directory entries to control users' access permissions for individual entries.

I have found few good articles explaining how to read ActiveDirectoryAccessRules for DirectoryEntry but I cannot find any good way to calculate effective permissions for specific user. Is there any supporting Microsoft API or library available or I need to invent my own way?

Reference URLs for people investigating on similar subjects:

  • Writing your own AD/ADAM permissions editor - 3
  • The .NET developer's guide to directory services programming
  • Access control lists in C#


    Does this help: http://www.conarc.com/blog/2010/03/25/programmatically-getting-effective-directoryfile-permissions/

  • 0

    上一篇:

    下一篇:

    精彩评论

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

    最新问答

    问答排行榜