AuthenticationHelperSetAuthCookieWithUserData Method |
Creates authentication cookie of user with specified custom data.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax public static void SetAuthCookieWithUserData(
string username,
bool isPersistent,
int timeOut,
string[] userData
)
Parameters
- username
- Type: SystemString
User name - isPersistent
- Type: SystemBoolean
Persistency of cookie - timeOut
- Type: SystemInt32
Cookie timeout - userData
- Type: SystemString
Array of user data
See Also