For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > December 2007 > Re: How can i create new users without utilizing the create user









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: How can i create new users without utilizing the create user
Phil H

2007-12-29, 7:16 pm

On 29 Dec, 19:48, "Ian Semmel" <any...@rocketcomp.com.au> wrote:
> You can add your own functions to your custom membership provider class.
>
> If your custom membership provider is say MyCustomProvider, you can get a
> reference to that by
>
> =A0 MyCustomProvider mcp =3D (MyCustomProvider) Membership.Provider;
>
> You can then call mcp.DoMyCreateUser(...) etc.
>
>
>
>
>
> - Show quoted text -


A custom membership provider has to impement the interface
requirements of a standard membership provider if it is to be used
transparently. If you need to pass more information than is specified
by the standard Membeship.Createuser() method then you will have to
write code for a separate function with the required parameters and
call it explicitly.

Does that make any sense?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com