Skip to main content

Hello,

I am facing the following problem, and maybe someone of you knows a solution:
In my company's AD, there are AD groups of different types, including security groups (used to give permissions), and distribution groups (used to receive mails) .
I need an SMO that allows me to list the AD groups by type.
I use the "GetGroups" method of the "AD Group" SMO of the "AD Service 2" instance, but it gives me the complete list of groups, without distinction, and without the possibility to filter on the type of group.
Does anyone know if this exists?

(I work with K2 Five 5.5)

 

Many thanks !

 

Is this for the management of groups in the context of a specific application?



 



You could potentially store a mapping table somewhere that tags all of those groups as being one type or the other and use that value to filter but I guess it depends on the size of your AD.



 



Would it be possible to add some specific text to all group descriptions of one type then you could use that to filter on, but again that depends on your AD size and of your ability to be able to actually do that.


Hello Paul,



Thank you for your answer!
I will indeed check with our AD officials, as it is quite large. Maybe there is a way for them to provide me with a view on which I will only have to do a stored procedure and an SMO.



 



many thanks again !



Have a nice day



Annick


Reply