forked from Skatterbrainz/CMWT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcmscopes.asp
36 lines (32 loc) · 1 KB
/
cmscopes.asp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!-- #include file=_core.asp -->
<%
'-----------------------------------------------------------------------------
' filename....... cmscopes.asp
' lastupdate..... 11/30/2016
' description.... security scopes
'-----------------------------------------------------------------------------
time1 = Timer
PageTitle = "Site Security Scopes"
PageBackLink = "cmsite.asp"
PageBackName = "Site Hierarchy"
SortBy = CMWT_GET("s", "ScopeName")
QueryOn = CMWT_GET("qq", "")
CMWT_NewPage "", "", ""
%>
<!-- #include file="_sm.asp" -->
<!-- #include file="_banner.asp" -->
<%
query = "SELECT DISTINCT CategoryName AS ScopeName, " & _
"CategoryDescription AS Description,SourceSite AS SiteCode, " & _
"NumberOfAdmins AS Admins,NumberOfObjects AS Objects " & _
"FROM dbo.vRBAC_SecuredCategories " & _
"ORDER BY " & SortBy
Dim conn, cmd, rs
CMWT_DB_QUERY Application("DSN_CMDB"), query
CMWT_DB_TABLEGRID rs, "", "cmscopes.asp", ""
CMWT_DB_CLOSE()
CMWT_SHOW_QUERY()
CMWT_Footer()
%>
</body>
</html>