Role based uid allotment
njathan - October 11, 2009 - 11:57
I am using content_profile + auto_assign_role for role user role management.
Now i have 2 roles - Staff & Students
Is it possible to assign UIDs to the newly registered users depending on the role they have opted for? Say, all users registering as Staff should have uids 10-999, and all others (students i.e.) should have UIDs above 1000. Does such a module exist?

I've never heard of such a
I've never heard of such a module. What are you actually trying to accomplish by doing this?
---
"Nice to meet you Rose...run for your life." - The Doctor
My first public Drupal site - EyeOnThe503
Role differentiation
The sole purpose id role identification.
The staff wants an ID which can be easily distinguished from that of a student. So, for e.g. when someone says P102, its understood that it belongs to a professor. Whereas a S102 belongs to a student. (this is only a alternate thought as opposed to my first post. As i said the idea is to let the end user remember roles and identify each other by ID numbers)
If there is an alternate way of doing this automatically, i would want to try it.
If it's just to identify
If it's just to identify staff and students within the site, the ID is a poor way anyway -- you're either assuming people will hover over profile links and read the ID part of the linked URL, or see it in the address bar once on the profile page.
The user ID is meant to be fairly internal.
Instead, you could use flag module, or a profile module field, and then theme the user name to reflect that with an icon or something.
Probably not. UIDs are
Probably not.
UIDs are autoincremented in the database, so you'd have to be hacking core pretty deep down to change that.