title: How to pass/set UserPrincipalName attribute in AspNetActiveDirectoryMembershipProvider provider
body: <p>How to set <code>UserPrincipalName</code> attribute
  when default provider is <code>AspNetActiveDirectoryMembershipProvider</code>.</p>
  
  <p>Following is the list of <code>CreateUser</code> methods of <code>System.Web.Security.Membership</code></p>
  
  <pre><code>public static MembershipUser CreateUser(string username, string password);
  public static MembershipUser CreateUser(string username, string password, string email);
  public static MembershipUser CreateUser(string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, out MembershipCreateStatus status);
  public static MembershipUser CreateUser(string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status);
  </code></pre>