2010-03-02 2 views

답변

2

테스트하려면 인증 된 경우

HttpContext.Current.User.Identity.IsAuthenticated 

자신의 이름을 얻으려면 :

HttpContext.Current.User.Identity.Name 
+0

매우 mutch 고맙지 만, 어떻게 http://stackoverflow.com/questions/2363100/membership-how-to-set-userid-to-integer-s-and-not-encrypted ... 내가 정수를 사용할 수 있습니까? ID로서의 가치? – Cynede

관련 문제