Change user ID?

Author Message

laurent le cadet

Wednesday 29 August 2007 6:21:34 am

Hi,

Is it possible ?

Reagrds.

Laurent

André R.

Wednesday 29 August 2007 7:26:25 am

Why do you want to do that?
It's not possible in a safe fashion, but should be possible to switch it manually in the database( at your own risk of course..).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

laurent le cadet

Wednesday 29 August 2007 7:38:34 am

André,

Yes, I know it's a risky buisness but I don't see the exact impact of such manipulations.

I need to import 500 new users.
So I will create 500 unic, so no rellay readable, ID : Xw2Mpk

The idea is to allow users to use there own prefered ID like everybody has.

The new users who will registered will do it the normal way which the checking for already existing ID + PASS.

I was asking to myself if that control can't be use while ID changes.

Laurent

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 21 2025 05:59:59
Script start
Timing: Jan 21 2025 05:59:59
Module start 'layout'
Timing: Jan 21 2025 05:59:59
Module start 'content'
Timing: Jan 21 2025 05:59:59
Module end 'content'
Timing: Jan 21 2025 05:59:59
Script end

Main resources:

Total runtime0.0193 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 587.7891151.1953
Module start 'layout' 0.00710.0048 738.984436.6094
Module start 'content' 0.01190.0056 775.593890.1016
Module end 'content' 0.01750.0018 865.695333.9922
Script end 0.0193  899.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002613.2261140.0002
Check MTime0.00126.0656140.0001
Mysql Total
Database connection0.00084.085210.0008
Mysqli_queries0.005729.728630.0019
Looping result0.00000.207210.0000
Template Total0.00136.610.0013
Template load0.00115.519310.0011
Template processing0.00021.065410.0002
Override
Cache load0.00083.961910.0008
General
dbfile0.00041.882980.0000
String conversion0.00000.056740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs