Is using UserId guid outside of aspnetdb acceptable?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bogdan

    Is using UserId guid outside of aspnetdb acceptable?

    Hi,

    I'd like to take a full advantage of built-in membership services and use
    aspnetdb's UserId in my app's database. For example, I'd like to establish
    some relationships between membership users from aspnetdb and rows in tables
    in my database. My app would be responsible for enforcing the
    cross-database 'referential integrity'. Does this sound as a
    good/acceptable practice?

    Thanks,
    Bogdan


  • Cowboy \(Gregory A. Beamer\)

    #2
    Re: Is using UserId guid outside of aspnetdb acceptable?

    Yes. No.

    If you want a shared membership, then your scenario is fine. If you are
    donig this for a single app, run the membership script against the database
    for your app and then you can actually add referential integrity to the
    ASP.NET tables.

    --
    Gregory A. Beamer
    MVP, MCP: +I, SE, SD, DBA

    Subscribe to my blog


    *************** *************** *************** ****
    | Think outside the box!
    |
    *************** *************** *************** ****
    "Bogdan" <bogdan@domain. comwrote in message
    news:%23B2PgZYh IHA.3352@TK2MSF TNGP04.phx.gbl. ..
    Hi,
    >
    I'd like to take a full advantage of built-in membership services and use
    aspnetdb's UserId in my app's database. For example, I'd like to
    establish some relationships between membership users from aspnetdb and
    rows in tables in my database. My app would be responsible for enforcing
    the cross-database 'referential integrity'. Does this sound as a
    good/acceptable practice?
    >
    Thanks,
    Bogdan
    >
    >

    Comment

    Working...