public static ComputerPrincipal FindByIdentity(PrincipalContext context, IdentityType identityType, string identityValue) { return((ComputerPrincipal)Principal.FindByIdentityWithType(context, typeof(ComputerPrincipal), identityType, identityValue)); }
public static GroupPrincipal FindByIdentity(PrincipalContext context, string identityValue) { return((GroupPrincipal)Principal.FindByIdentityWithType(context, typeof(GroupPrincipal), identityValue)); }