text: 
  CREATE PROCEDURE [dbo].aspnet_Users_CreateUser
      @ApplicationId    uniqueidentifier,
      @UserName         nvarchar(256),
      @IsUserAnonymous  bit,
      @LastActivityDate DATETIME,
      @UserId           uniqueidentifier OUTPUT
  AS
  BEGIN
      IF( @UserId IS NULL )
          SELECT @UserId = NEWID()
      ELSE
      BEGIN
          IF( EXISTS( SELECT UserId FROM dbo.aspnet_Users
                      WHERE @UserId = UserId ) )
              RETURN -1
      END
  
      INSERT dbo.aspnet_Users (ApplicationId, UserId, UserName, LoweredUserName, IsAnonymous, LastActivityDate)
      VALUES (@ApplicationId, @UserId, @UserName, LOWER(@UserName), @IsUserAnonymous, @LastActivityDate)
  
      RETURN 0
  END
  