467,211 Members | 1,202 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,211 developers. It's quick & easy.

two applications sharing same users

xke
My question is, using aspnet membership model, can I have the same
users but with different roles assigned per application ?

I know two application can share the users by having the same appname
in web.config but the question I'd like to ask is if they can have
different roles based on the application.

Thanks,
xke

Sep 15 '07 #1
  • viewed: 1277
Share:
1 Reply
Yes and no.

By the default implementation, you ahve to dupe the users and assign new
roles, which makes them different users. You can, however, create your own
providers, which can be set up however you wish. You will have to unlink the
user table from the app table to accomplish what you desire, but you can
customize however you desire.

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

*************************************************
| Think outside the box!
|
*************************************************
"xke" <xk****@gmail.comwrote in message
news:11**********************@y42g2000hsy.googlegr oups.com...
My question is, using aspnet membership model, can I have the same
users but with different roles assigned per application ?

I know two application can share the users by having the same appname
in web.config but the question I'd like to ask is if they can have
different roles based on the application.

Thanks,
xke

Sep 16 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Shikari Shambu | last post: by
1 post views Thread by Tod Birdsall, MCSD for .NET | last post: by
4 posts views Thread by Francis Reed | last post: by
26 posts views Thread by gabry.morelli@libero.it | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.