Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:785144
More Search Options
RSS Available
Matching Posts
Re: ASP.NET impersonation - getfiles() problem
... any one?
Posted to
Security
(Forum)
by
MarcinM
on 2/12/2008
Re: User.isInrole problem
Try checking role with domain prefix, ex: User.IsInRole(@"domain\user"). If that fails try this code: string [] members = Roles.GetRolesForUser(); foreach ( string role in members) { Response.Write( "\n" + role + "/<br />" ); } ... and dont forget enable roleManager in web.config: < system.web > < roleManager enabled= "true" defaultProvider= "AspNetWindowsTokenRoleProvider" /> </ systen.web >
Posted to
Security
(Forum)
by
MarcinM
on 2/11/2008
ASP.NET impersonation - getfiles() problem
Hi all, I've got problem with listing files in UNC path. Result is: Access to the path '\\serwername\path' is denied. I'm using IIS 5.1 on WinXP Pro. All machines in one domain. Impersonation is on. web.config: < system.web > < identity impersonate= "true" /> < authentication mode= "Windows" /> </ system.web > Integrated Windows authentication checked and Anonymous access unchecked in IIS configuration. I've been googling on this one
Posted to
Security
(Forum)
by
MarcinM
on 2/11/2008
Filed under: ASP.NET 2.0, c# in Asp.net, GetFiles(), Impersonatenation
Page 1 of 1 (3 items)
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Silverlight:
Silverlight HVP Design Update
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online