Set Identity for non web request
<p>I want to set identity for a non web request. Currently I am using FormsAuthentication and I am getting user identity via this <em>User.Identity.Name</em> . Now I have to make the user login via API. I have the username/password for the user, how can I set the identity for this. </p>
