BUG: You receive a "False" value when you call the User.IsInRole method in an ASP.NET application even though the user is assigned to the role (894432)
The information in this article applies to:
- Microsoft ASP.NET (included with the .NET Framework 1.1)
- Microsoft ASP.NET (included with the .NET Framework) 1.0
SYMPTOMSWhen you call the User.IsInRole method in a Microsoft ASP.NET application, you receive a False value from the method. This behavior occurs even though the user may be assigned to the role.
Note This issue occurs when the ASP.NET application is mapped to a Uniform Naming Convention (UNC) share.WORKAROUNDTo work around this issue, use one of the following methods: - Do not map the ASP.NET application to a UNC share.
- Run the iisreset command after you add a user to a role but before you request an ASPX Web page.
STATUS Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Major | Last Reviewed: | 4/22/2005 |
---|
Keywords: | kbIIS kbSecurity kbASPNET kbnofix kbBug KB894432 kbAudDeveloper |
---|
|