ChildAction.Models.FormsAuthenticationService.SignIn C# (CSharp) Method

SignIn() public method

public SignIn ( string userName, bool createPersistentCookie ) : void
userName string
createPersistentCookie bool
return void
        public void SignIn(string userName, bool createPersistentCookie)
        {
            ValidationUtil.ValidateRequiredStringValue(userName, "userName");

            FormsAuthentication.SetAuthCookie(userName, createPersistentCookie);
        }
FormsAuthenticationService