form method="POST" 請(qǐng)輸入域名 :input type="text" name="DomainName" size="20" input type="submit" value=" 提交 " name="B1" input type="reset" va" />

欧美大屁股bbbbxxxx,狼人大香伊蕉国产www亚洲,男ji大巴进入女人的视频小说,男人把ji大巴放进女人免费视频,免费情侣作爱视频

歡迎來(lái)到入門教程網(wǎng)!

編程問(wèn)答

當(dāng)前位置:主頁(yè) > 網(wǎng)絡(luò)編程 > 編程問(wèn)答 >

如何取得服務(wù)器上的用戶組列表?

來(lái)源:本站原創(chuàng)|時(shí)間:2020-01-11|欄目:編程問(wèn)答|點(diǎn)擊: 次

domainname.asp<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

<form method="POST">
   
請(qǐng)輸入域名:<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   

' 校驗(yàn)有效域.
if err<>0 then
  response.write "<Font Color=Red>
,連接域"&domainstring&"出錯(cuò)!</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%>內(nèi)的所有組的列表</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]

上一篇:如何驗(yàn)證IP地址?

欄    目:編程問(wèn)答

下一篇:禁止站外提交表單(author:killer)

本文標(biāo)題:如何取得服務(wù)器上的用戶組列表?

本文地址:http://mengdiqiu.com.cn/a1/bianchengwenda/12037.html

網(wǎng)頁(yè)制作CMS教程網(wǎng)絡(luò)編程軟件編程腳本語(yǔ)言數(shù)據(jù)庫(kù)服務(wù)器

如果侵犯了您的權(quán)利,請(qǐng)與我們聯(lián)系,我們將在24小時(shí)內(nèi)進(jìn)行處理、任何非本站因素導(dǎo)致的法律后果,本站均不負(fù)任何責(zé)任。

聯(lián)系QQ:835971066 | 郵箱:835971066#qq.com(#換成@)

Copyright © 2002-2020 腳本教程網(wǎng) 版權(quán)所有