Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • Re: Active directory | Primary Group

    This solution uses ADSI and the .NET Framework to retrieve the name of the user's primary group: $rootDN = ([adsi]"").distinguishedName $user = [adsi]("LDAP://CN=testuser,OU=Test," + $rootDN) $groupID = $user.primaryGroupID $arrSID = $user.objectSid.Value $SID = New-Object System...
    Posted to Active Directory (Forum) by Aleksandar on 08-07-2009
    Filed under: Active Directory, ADSI, group, User, SID, primary group
Page 1 of 1 (1 items)
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.