New Posts New Posts RSS Feed: Role provider
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Role provider

 Post Reply Post Reply
Author
Alpha8 View Drop Down
Newbie
Newbie


Joined: 17-May-2011
Posts: 2
Post Options Post Options   Quote Alpha8 Quote  Post ReplyReply Direct Link To This Post Topic: Role provider
    Posted: 17-May-2011 at 4:18am
Hello

I would like to write a role admin tool in Silverlight, using the membership role provider. how can I get acces to all roles on using devorce, so i can list the roles and add new one, and add and remove users to/from roles like in asp.net.

Roles.CreateRole("Admins")
and
Roles.AddUserToRole("domain\me""Admins")

Anyone knows an example?

Thanks
Back to Top
robertg View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 15-Mar-2011
Location: California
Posts: 87
Post Options Post Options   Quote robertg Quote  Post ReplyReply Direct Link To This Post Posted: 17-May-2011 at 11:34am
Alpha, are you using DevForce 2009 or DevForce 2010?

Edited by robertg - 17-May-2011 at 11:40am
Back to Top
Alpha8 View Drop Down
Newbie
Newbie


Joined: 17-May-2011
Posts: 2
Post Options Post Options   Quote Alpha8 Quote  Post ReplyReply Direct Link To This Post Posted: 17-May-2011 at 12:07pm

I use Devforce 2010, and use Silverlight 4, sorry i posted in the wrong section.

thank
heinz
Back to Top
robertg View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 15-Mar-2011
Location: California
Posts: 87
Post Options Post Options   Quote robertg Quote  Post ReplyReply Direct Link To This Post Posted: 17-May-2011 at 12:25pm
No problem, it's easy enough to move the topic to the right place. I Just wanted to make sure we were giving you the correct information!
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down