当前位置:

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

发信人: netcore (thank), 信区: ASP
标  题: Example 1: Creating a User with a Password 
发信站: 网易虚拟社区 (Tue Mar 23 21:59:40 1999), 站内信件

<%
strDomain="MACHINENAME"
strUser="jdoe"

Set oDomain = GetObject("WinNT://" & strDomain)
Set oUser = oDomain.Create ("user", strUser)
oUser.SetInfo

oUser.SetPassword "mypassword"
oUser.SetInfo

Set oDomain=Nothing
Set oUser=Nothing

%>

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


当前位置:

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