Keyboard
asked on
Trouble inheriting IPrincipal in vb.net
I am implementing and extending IPrincipal, because I need additional properties like - company, name etc.
I read the following:
-----------
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetch02.asp
http://samples.gotdotnet.com/quickstart/aspplus/doc/windowsauth.aspx
-----------
and proceeded to implement the same. I created a class "myprincipal" and tried inheriting IPrincipal. But I get a wiggly error :-) saying "Classes can inherit only from other classes".
**********
Imports System.Security.Principal
Public Class myPrincipal
Inherits IPrincipal
End Class
***************
What am I doing wrong? Urgent help required. Thanks.
I read the following:
-----------
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetch02.asp
http://samples.gotdotnet.com/quickstart/aspplus/doc/windowsauth.aspx
-----------
and proceeded to implement the same. I created a class "myprincipal" and tried inheriting IPrincipal. But I get a wiggly error :-) saying "Classes can inherit only from other classes".
**********
Imports System.Security.Principal
Public Class myPrincipal
Inherits IPrincipal
End Class
***************
What am I doing wrong? Urgent help required. Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER