AuthenticationHelperSetAuthCookieWithUserData Method |
Creates authentication cookie of user with specified custom data.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
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