AuthenticationHelper.SetAuthCookieWithUserData Method |
Creates authentication cookie of user with specified custom data.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntaxpublic static void SetAuthCookieWithUserData(
string username,
bool isPersistent,
int timeOut,
string[] userData
)
Parameters
- username
- Type: System.String
User name - isPersistent
- Type: System.Boolean
Persistency of cookie - timeOut
- Type: System.Int32
Cookie timeout - userData
- Type:System.String[]
Array of user data
See Also