Groups > Application developers > Community Server Source discussions > Re: New UserId Creation...




New UserId Creation...

New UserId Creation...
Fri, 29 Sep 2006 03:01:23 +000
Hi All,

Can anyone explain that how the new UserId is created and stored into
"aspnet_Users" table under uniqueidentifier datatype, while a user
Join to the community? Is it auto generated by the SQLServer or generated by a
class that is constructed somewhere in a components or controls folder?
pleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeez
Post Reply
Re: New UserId Creation...
Fri, 29 Sep 2006 08:41:39 +000
Hi,

I believe it is created in the SQL stored procedure aspnet_Users_CreateUser in
this excerpt:

BEGIN
    IF( @UserId IS NULL )
        SELECT @UserId = NEWID()
    ELSE

 Regards

Dave
Post Reply
about | contact