domainname.aspxml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /??
<form method=”POST”>
àà请è¾ÂÃ¥Â
¥åÂÂÃ¥ÂÂ:<input type=”text” name=”DomainName” size=”20″>
àà<input type=”submit” value=”æÂÂ交” name=”B1″>
àà<input type=”reset” value=”éÂÂå” name=”B2″>
</form>
<%
if isempty(request(“domainname”)) or trim(request(“domainname”))=”” then
ÃÂ response.end
end if
DomainString =request(“domainname”)
on error resume next
Set DomainObj = GetObject(“WinNT://” & DomainString)
tmp= DomainObj.MinPasswordLengthÃÂ ÃÂ
‘ æ ¡éªÂæÂÂæÂÂÃ¥ÂÂ.
if err<>0 then
àresponse.write “<Font Color=Red>å¢,è¿ÂæÂ¥å“&domainstring&”åºéÂÂ!</Font><br>”
ÃÂ response.end
end if
%>
<Table border=1 cellpadding=4 width=90% bgcolor=ffffcc>
<tr Align=Center>
<td valign=top><B><Font Size=5 Color=Blue>Ã¥ÂÂ<%=DomainString%>Ã¥ÂÂ
çÂÂæÂÂæÂÂç»ÂçÂÂÃ¥ÂÂ表</B></Font>
</td>
</tr>
</table>
<Table border=0 cellpadding=5><tr><td><B><Font Size=3>ç»ÂÃ¥ÂÂ</Font></B></td><td><B><Font Size=3>æÂÂè¿°</Font></B></td></tr>
<%
DomainObj.Filter = Array(“group”)
For Each GroupObj In DomainObj
ÃÂ ÃÂ If GroupObj.Class = “Group” Then
strInfo=strInfo&”<tr><td><B><Font Size=3>”&GroupObj.Name&”</Font>
</B></td><td><B><Font Size=3>”&GroupObj.Description&”</Font>
</B></td></tr>”
ÃÂ ÃÂ End If
Next
set DomainObj = Nothing
set GroupObj = Nothing
strInfo=strInfo & “</Table>”
response.write strInfo & “<br>”
response.write “<font size=3><I>” & Now & “</I></Font>”
%>
[1]