Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Cuatom Membership Provider and Membership User

Cuatom Membership Provider and Membership User

Scheduled Pinned Locked Moved ASP.NET
databasehelpquestionxml
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HellRzr
    wrote on last edited by
    #1

    Hi, Anyone out there who can help me I have to implement a Custom MembershipProvider but my problem is our database Schema is totally different from one of the many examples and the which default. One other thing I just need to know is if I implement the Custom Membershoip Provider do I have to declare the methods like GetUser() the way it is and with the same parameters? Guys please help I'm tired of cracking my head. And ooh, here is the table I'll be using: [UserID] [int] IDENTITY(1,1) NOT NULL, [Name] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Password] [nvarchar](64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Email] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Company] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Tel] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Fax] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [PosAddr1] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [PosAddr2] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [PosAddr3] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [PosCode] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [PhysAddr1] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [PhysAddr2] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Town] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [DateStamp] [datetime] NULL CONSTRAINT [DF_Users_DateStamp] DEFAULT (getdate()), [LastPasswordChange] [datetime] NULL CONSTRAINT [DF_Users_LastPasswordChange] DEFAULT getdate()), [PasswordPeriod] [int] NULL CONSTRAINT [DF_Users_PasswordPeriod] DEFAULT (0), [Question] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Answer] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [lastActivityDate] [datetime] NULL, Please HELP!:confused:

    W 1 Reply Last reply
    0
    • H HellRzr

      Hi, Anyone out there who can help me I have to implement a Custom MembershipProvider but my problem is our database Schema is totally different from one of the many examples and the which default. One other thing I just need to know is if I implement the Custom Membershoip Provider do I have to declare the methods like GetUser() the way it is and with the same parameters? Guys please help I'm tired of cracking my head. And ooh, here is the table I'll be using: [UserID] [int] IDENTITY(1,1) NOT NULL, [Name] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Password] [nvarchar](64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Email] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Company] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Tel] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Fax] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [PosAddr1] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [PosAddr2] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [PosAddr3] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [PosCode] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [PhysAddr1] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [PhysAddr2] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Town] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [DateStamp] [datetime] NULL CONSTRAINT [DF_Users_DateStamp] DEFAULT (getdate()), [LastPasswordChange] [datetime] NULL CONSTRAINT [DF_Users_LastPasswordChange] DEFAULT getdate()), [PasswordPeriod] [int] NULL CONSTRAINT [DF_Users_PasswordPeriod] DEFAULT (0), [Question] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Answer] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [lastActivityDate] [datetime] NULL, Please HELP!:confused:

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      I think this is a good sample to start with: How to: Sample Membership Provider Implementation[^].

      The need to optimize rises from a bad design

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups