当前位置:

Netease BBS 精华 >>讨论区精华 >>电脑技术 >>● ASP >>ASP典型范例

发信人: netcore (thank), 信区: ASP
标  题: Example 4: Adding a User to a Group 
发信站: 网易虚拟社区 (Tue Mar 23 22:04:19 1999), 站内信件



<%

strDomain="MACHINENAME"
strUser="jdoe"
strGroup="Unidentified"

Set oDomain = GetObject("WinNT://" & strDomain)
Set oGroup = oDomain.GetObject("Group", strGroup)

oGroup.Add ("WinNT://" & strDomain & "/" & strUser)

Set oDomain=Nothing
Set oGroup=Nothing

%>

--
※ 来源:.网易虚拟社区 http://club.netease.com.[FROM: 202.96.156.100]


当前位置:

Netease BBS 精华 >>讨论区精华 >>电脑技术 >>● ASP >>ASP典型范例
 
(C)1997-1998 版权所有
广州网易计算机系统有限公司