2 references to DsRoleGetPrimaryDomainInformation
System.DirectoryServices (2)
System\DirectoryServices\ActiveDirectory\Utils.cs (2)
2203
err = Interop.Netapi32.
DsRoleGetPrimaryDomainInformation
(null, Interop.Netapi32.DSROLE_PRIMARY_DOMAIN_INFO_LEVEL.DsRolePrimaryDomainInfoBasic, out dsRoleInfoPtr);
2205
err = Interop.Netapi32.
DsRoleGetPrimaryDomainInformation
(computerName, Interop.Netapi32.DSROLE_PRIMARY_DOMAIN_INFO_LEVEL.DsRolePrimaryDomainInfoBasic, out dsRoleInfoPtr);