N
Ned White
Hi All,
i can create new instance of MembershipUser class like that;
MembershipUser userA = Membership.GetUser("someusername");
But how can i build a class which is inherited from
System.Web.Security.MembershipUser class.
as follows ;
public class B2B_User : MembershipUser
{
public B2B_User(Guid userkod): base() // i am not sure here for using
base()
{
// getting extra user info from database
}
}
-----
How can i create new instance of Membership in constructor of B2B_User
class.
my purpose is using methods and properties of MembershipUser on derived (
B2B_User) class.
Can anybody help me with this?
Thanks in advance.
i can create new instance of MembershipUser class like that;
MembershipUser userA = Membership.GetUser("someusername");
But how can i build a class which is inherited from
System.Web.Security.MembershipUser class.
as follows ;
public class B2B_User : MembershipUser
{
public B2B_User(Guid userkod): base() // i am not sure here for using
base()
{
// getting extra user info from database
}
}
-----
How can i create new instance of Membership in constructor of B2B_User
class.
my purpose is using methods and properties of MembershipUser on derived (
B2B_User) class.
Can anybody help me with this?
Thanks in advance.