Compartilhar via


SPFormsUserNameSecurityTokenHandler.CreateSecurityToken Method

Include Protected Members
Include Inherited Members

Creates a security token for the user.

Overload List

  Name Description
Public methodStatic member CreateSecurityToken(String, String, String) Creates a security token that is based on the specified membership provider, user name, and password.
Public methodStatic member CreateSecurityToken(String, String, String, String) Creates a security token that is based on the specified membership provider, role provider, user name, and password.

Top

See Also

Reference

SPFormsUserNameSecurityTokenHandler Class

SPFormsUserNameSecurityTokenHandler Members

Microsoft.SharePoint.IdentityModel Namespace