partial void OnauthenticationPolicyChanging(ServicePrincipalAuthenticationPolicy value);
 public static ServicePrincipalAuthenticationPolicy CreateServicePrincipalAuthenticationPolicy(global::System.Collections.ObjectModel.Collection<string> allowedPolicies)
 {
     ServicePrincipalAuthenticationPolicy servicePrincipalAuthenticationPolicy = new ServicePrincipalAuthenticationPolicy();
     if ((allowedPolicies == null))
     {
         throw new global::System.ArgumentNullException("allowedPolicies");
     }
     servicePrincipalAuthenticationPolicy.allowedPolicies = allowedPolicies;
     return servicePrincipalAuthenticationPolicy;
 }