简体   繁体   English

需要将 Active Directory 用户添加到 SQL Server Active Directory 组

[英]Need to add Active Directory User to SQL Server Active Directory Group

I have an AD group aus/query where I need to add an individual AD user aus/dsmith to this group.我有一个 AD 组 aus/query,我需要向该组添加一个单独的 AD 用户 aus/dsmith。 I do not want to add individual logins to my SQL Server.我不想将个人登录名添加到我的 SQL Server。

How to do?怎么做?

Thank you!谢谢!

You need to do it outside of SQL Server.您需要在 SQL Server 之外执行此操作。 For example you can use following powershell commandlet:例如,您可以使用以下 powershell commandlet:

Add-ADGroupMember query dsmith

You can find more about it at:您可以在以下位置找到更多信息:
https://docs.microsoft.com/en-us/powershell/module/activedirectory/add-adgroupmember?view=winserver2012-ps https://docs.microsoft.com/en-us/powershell/module/activedirectory/add-adgroupmember?view=winserver2012-ps

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM