
|
email this FAQ to a colleague
Q:
How do I get all the users in a group using ADSI?
A:
<%
Set oGroup = GetObject("WinNT://" & strDomain & "/" & strGroup)
For each oUser in oGroup.Members
Response.Write oUser.Name & "<br>"
Next
%>
- Wayne Berry
|