|
|
|
В чем разница между...
|
|||
|---|---|---|---|
|
#18+
Есть два куска кода в ASP.NET if(HttpContext.Current.User.IsInRole(roleName)){ ... } и WindowsPrincipal wp = new WindowsPrincipal(WindowsIdentity.GetCurrent()) if(wp.IsInRole(roleName)){ ... } Являются ли они эквивалентными? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 21.06.2006, 17:38 |
|
||
|
|

start [/forum/topic.php?fid=18&gotonew=1&tid=1392300]: |
0ms |
get settings: |
7ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
173ms |
get topic data: |
9ms |
get first new msg: |
4ms |
get forum data: |
2ms |
get page messages: |
34ms |
get tp. blocked users: |
1ms |
| others: | 236ms |
| total: | 489ms |

| 0 / 0 |
