나는 내 사용자 지정 로그인 시퀀스의 일부로서 Web.HttpContext.Current.User.Identity.Name의 출처는 어디입니까?
FormsAuthentication.SetAuthCookie("someName", True)
있습니다. 지금까지 내가 말할 수있는
<location path="myPage.aspx">
<system.web>
<authorization>
<allow roles="SomeRole"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
, GetRolesForUser의 내 역할 공급자의 구현에 호출합니다 : 나중에, 난 단지 특정 역할을 수 있도록 일부 페이지가 있습니다. Web.HttpContext.Current.User.Identity.Name에서 username 매개 변수를 가져 오는 것 같습니다.
내 질문은 .... 인증 쿠키의 사용자 이름이 현재 사용자 신원의 이름으로 설정 되나요?