[Mono-bugs] [Bug 52532][Wis] Changed - Cannot find type `WindowsPrincipal'

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 25 Dec 2003 14:12:04 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by spouliot@videotron.ca.

http://bugzilla.ximian.com/show_bug.cgi?id=52532

--- shadow/52532	2003-12-25 01:02:14.000000000 -0500
+++ shadow/52532.tmp.1650	2003-12-25 14:12:04.000000000 -0500
@@ -86,6 +86,17 @@
 	public static void GetUserProvinces (WindowsPrincipal user) {
 	
 	}
 }
 
 Cant figure out why this is happening, is this an MCS bug?
+
+------- Additional Comments From spouliot@videotron.ca  2003-12-25 14:12 -------
+This shouldn't compile because the class WindowsPrincipal isn't (yet)
+part of mscorlib. This is "easy" to fix (e.g. stub) but you should be
+aware that the WindowsIdentity class is only a stub (there's no code
+in there) - so right now all WindowsIdentity properties throws
+NotImplementedException.
+
+This _may_ be easy to fix if you only require the username (string) to
+do an LDAP lookup. However this won't tell you if the user is
+authenticated.