Help for this page

Select Code to Download


  1. or download this
    if(Win32::AdminMisc::UserGetMiscAttributes('DOMAIN', "user", \%Hash)){
        print "The user is in the primary group with a RID $Hash{USER_PRIM
    +ARY_GROUP_ID}\n";
    }
    
  2. or download this
    $groupRID = getRID($groupName);
    print "$groupName has the RID $groupRID.\n";