ChildAction.Models.FormsAuthenticationService.SignIn C# (CSharp) 메소드

SignIn() 공개 메소드

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

            FormsAuthentication.SetAuthCookie(userName, createPersistentCookie);
        }
FormsAuthenticationService