PRB: Role Parameter Is Case Sensitive for IsInRole Method (816640)
The information in this article applies to:
- Microsoft .NET Framework 1.0
- Microsoft .NET Framework 1.1
SYMPTOMSIn the Microsoft .NET Framework 1.1, you may pass a
string as a parameter to the IsInRole method of the GenericPrincipal class or of the WindowsPrincipal class. When you do this, the role parameter is treated as case-insensitive by the IsInRole method when the IsInRole method evaluates the role parameter. This behavior for the IsInRole method has changed from the .NET Framework 1.0. The .NET Framework 1.0 was case-sensitive.STATUSThis behavior is by design.REFERENCESFor more information about the WindowsPrincipal.IsInRole method, visit the following Microsoft Developer Network (MSDN) Web site:
Modification Type: | Major | Last Reviewed: | 2/4/2004 |
---|
Keywords: | kbNameSpace kbProgramming kbfix KB816640 kbAudDeveloper |
---|
|