我如何在.net Core中使用目录服务 [英] How can i use Directory Services in .net Core

查看:162
本文介绍了我如何在.net Core中使用目录服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨专家,

我必须使用.net核心创建一个应用程序,其中包含一些活动目录操作,例如Create Group,将成员添加到组,从组中删除用户。

I have to make an application using .net core with some active directory operations like Create Group , add member to group, delete user from group.

我无法在.net核心中添加目录服务包。

i unable to add directory services package in .net core.

有什么办法可以实现以下功能。

is there any way by which i can implement the following functionalities.

请帮帮我。

谢谢

Praveen 

Praveen 

推荐答案

嗨thegreatpp,

Hi thegreatpp,

感谢您发布此处。

对于您的问题,您是否在.net框架中测试了代码?它运作良好吗?

For your question, have you test you code in .net framework? Does it work well?

>>我无法在.net核心中添加目录服务包。

>>i unable to add directory services package in .net core.

你的意思是你不能在Manage NuGet Package中添加System.DirectoryServices的引用吗?如果是,则表示.net核心不支持此库。

Do you mean you could not add reference of System.DirectoryServices in Manage NuGet Package? If yes, it means .net core does not support this library.

您是否有必要使用.net核心?如果没有,请尝试使用.net框架。

Is there any reason that you must use the .net core? If not, try to use .net framework.

最好的问候,

Wendy


这篇关于我如何在.net Core中使用目录服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆