Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 879 Bytes

adding-users-to-a-group.md

File metadata and controls

39 lines (23 loc) · 879 Bytes
title description ms.assetid ms.tgt_platform keywords ms.topic ms.date
Adding Users to a Group
Joe Worden, the enterprise administrator, will now add Julie Bankert to the Management group. To add an object to a group, use the IADsGroup.Add method.
57a9f5b2-2e48-401d-8d3b-eceb711a1df9
multiple
Adding Users to a Group ADSI
concept-article
05/31/2018

Adding Users to a Group

Joe Worden, the enterprise administrator, will now add Julie Bankert to the Management group. To add an object to a group, use the IADsGroup.Add method.

Dim grp as IADsGroup

Set grp = GetObject("LDAP://CN=Management,OU=Sales,DC=Fabrikam,DC=COM") 
grp.Add ("LDAP://CN=Julie Bankert,OU=Sales,DC=Fabrikam,DC=COM")

Related topics

Creating a New Group