Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Probably Simple Roles Issue

Reply
 
Old 08-20-2008   #1 (permalink)
GinnTech


 
 

Probably Simple Roles Issue

Hello,

I have an issue with the CreateUserWizard Control. I am trying to
once the user is successfully created add them to a default role. So
crazy me to think that I would leverage the createdUser event and then
Roles.addUser....

well it ran user was added to the database but no role has been added
for the user. There is also no errors or nothing in the logs that say
it failed.

Any Ideas??

Tim

My System SpecsSystem Spec
Old 08-20-2008   #2 (permalink)
HillBilly


 
 

Re: Probably Simple Roles Issue

Yes, crazy you :-) working bass ackwards. You should learn and use the
LoginView control to manage what content the user can or cannot access on
the page or the Membership class to keep them out of the page itself. There
are a couple of 3rd party Membership controls, documents and blogs about
developing our own including commentary from Microsoft and of course the
Website Administration Tool.


"GinnTech" <Tim.Dale.Ginn@xxxxxx> wrote in message
news:5206f011-f2dc-4a9a-9168-b28d8817feca@xxxxxx
Quote:

> Hello,
>
> I have an issue with the CreateUserWizard Control. I am trying to
> once the user is successfully created add them to a default role. So
> crazy me to think that I would leverage the createdUser event and then
> Roles.addUser....
>
> well it ran user was added to the database but no role has been added
> for the user. There is also no errors or nothing in the logs that say
> it failed.
>
> Any Ideas??
>
> Tim
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Yet another simple array issue PowerShell
Transferring FSMO roles PowerShell
No Sound Device Roles in RC1? Vista music pictures video
No Sound Device Roles in RC1? Vista music pictures video
No Sound Device Roles in RC1? Vista music pictures video


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46