Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List the Owner of a GroupContent of List the Owner of a Group.vbsMD5 Hash: 709F90FC335164EFD19DB2A7A0194CA8 |
||
' Description: Returns the owner of an Active Directory security group named Scientists.
Set objGroup = GetObject _ ("LDAP://cn=Scientists,ou=R&D,dc=NA,dc=fabrikam,dc=com") Set objNtSecurityDescriptor = objGroup.Get("ntSecurityDescriptor") WScript.Echo "Owner Tab" WScript.Echo "Current owner of this item: " & objNtSecurityDescriptor.Owner | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |