c# - Change groupType of ActiveDirectory Group -
does know, how change grouptype
attribute of ad group via c#?
after correctly retrieving group, tried following, throws directoryservicescomexception
:
group.properties["grouptype"].value = activeds.ads_group_type_enum.ads_group_type_global_group | activeds.ads_group_type_enum.ads_group_type_security_enabled; group.commitchanges();
do know way change grouptype
property existing group?
without knowing exception get, make following suggestion:
ensure attempting valid conversion universal -> domain local or global domain local -> universal global -> universal
if can't aduc, won't able in programm, double check there.
Comments
Post a Comment