title: get role of user in a string variable
body: <p>is there a way i can get the role in a string variable using the below commands....</p>
  
  <pre><code> System.Security.Principal.WindowsIdentity wi = System.Security.Principal.WindowsIdentity.GetCurrent();
    System.Security.Principal.WindowsPrincipal wp = new System.Security.Principal.WindowsPrincipal(wi);
  </code></pre>
  
  <p>i need this for</p>
  
  <pre><code> FormsAuthenticationTicket authTicket = new FormsAuthenticationTicket(1,                          // version
                                                     UserName.Text,           // user name
                                                     DateTime.Now,               // creation
                                                     DateTime.Now.AddMinutes(60),// Expiration
                                                     false,                      // Persistent 
                                                     role);         // User data
  </code></pre>
  
  <p>as string role=  wp.IsInRole();<br>
  but this is not right</p>
  
  <p>something similar to this...</p>