摘要: https://docs.microsoft.com/en-us/dotnet/api/system.directoryservices?view=netframework-4.7 The System.DirectoryServices namespace provides easy access 阅读全文
posted @ 2017-12-05 17:47 ChuckLu 阅读(567) 评论(0) 推荐(0) 编辑
摘要: Authenticated Users System Administrators Users 假如一个用户属于2个用户组的话,deny的优先级更高 log在写文件的时候,如果没有权限访问。会遇到UnauthorizedAccessException,这个异常需要直接抛出到顶层 获取当前用户 获取当 阅读全文
posted @ 2017-12-05 16:04 ChuckLu 阅读(1064) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/9654833/how-to-run-visual-studio-as-administrator-by-default Windows 8, 8.1 and 10 In Windows 8, you have to right 阅读全文
posted @ 2017-12-05 10:32 ChuckLu 阅读(1058) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/12859891/error-unable-to-access-the-iis-metabase 解决方法1 On Windows 8 Pro: %systemroot%\inetsrv\config On Windows 7 阅读全文
posted @ 2017-12-05 10:08 ChuckLu 阅读(472) 评论(0) 推荐(0) 编辑