ASP views code for system users and processes

xiaoxiao2021-03-06  40

<%

DIM OBJ

ON Error ResMe next

For Each Obj IN GetObject ("WinNT: //.")

Err.Clear%>

->

<% if Err THEN

%> System User (Group) <% ELSE%> System Process <% END IF%>

<% = Obj.name%>

<% if Err THEN

Else

%> (<% = obj.displayName%>) <% end if%>


<% = Obj.path%>

<%

NEXT

%>

转载请注明原文地址:https://www.9cbs.com/read-53936.html

New Post(0)