/// <summary> /// Gets the name of the managed by distinguished. /// </summary> /// <param name="groupPrincipal">The group principal.</param> /// <returns>System.String.</returns> /// TODO Edit XML Comment Template for GetManagedByDistinguishedName public static string GetManagedByDistinguishedName( this GroupPrincipal groupPrincipal) { return(groupPrincipal.GetPropertyValueAsString(ManagedBy)); }