I’m trying to set the group type for a new Active Directory Entry via VB.NET and DirectoryServices to create a distribution list.
How do I access the ADS_GROUP_TYPE enumerations?
Specifically I’m after ADS_GROUP_TYPE_GLOBAL_GROUP.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’re correct, you can’t actually get access to the enumerations.
Just a wee nitpick, this constant doesn’t need to be an object, you can make it an int32 –
Const ADS_GROUP_TYPE_GLOBAL_GROUP As Object = &H2