|
|
|
В чем разница между...
|
|||
|---|---|---|---|
|
#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&tid=1392300]: |
0ms |
get settings: |
4ms |
get forum list: |
8ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
145ms |
get topic data: |
6ms |
get forum data: |
2ms |
get page messages: |
18ms |
get tp. blocked users: |
1ms |
| others: | 222ms |
| total: | 410ms |

| 0 / 0 |
