Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
355 B

  1. set l = CreateObject("WbemScripting.SWbemLocator")
  2. set s = l.Open ("umi://nw01t1/ldap","nw01t1domnb\administrator","nw01t1domnb")
  3. set c = CreateObject("WbemScripting.SWbemNamedValueSet")
  4. c.Add "INCLUDE_OWNER", true
  5. c.Add "INCLUDE_DACL", true
  6. C.Add "INCLUDE_GROUP", true
  7. set u = s.Get (".ou=AjayTest", 16384, c)
  8. set sd = u.GetSecurityDescriptor_