开发者

Custom membership provider for asp.net

I want to use NauckIT asp.net membership provider for Postgres.

I was playing with example and I managed to register/login/logout user. However, This membership provider also has role management, but i dont know how to use it.

My question is: Is it possible to use ASP.NET Configuration utility (the one you start from menu Project>ASP开发者_运维百科.NET Configuration) to create roles and users? How do I achieve this?

If this is not possible, Is there any other way to do this (besides inserting/update roles/users directly to Postgres DB - this is not much user friendly)

Thank you in advance


Roles are managed by a RoleProvider in ASP.Net

I would imagine if it has a custom Membership provider, then it would also have a custom role provider as well. If this is the case, then you can certainly use the out of the box Management Pages for ASP.Net as it simply uses the Role and Membership providers that are already defined.

It would appear that NauckIT does in fact have a role provider.

Again, the management pages should work just fine if following the instructions in the link above.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜