I have a requirement where the application I'm working on needs an integer-based user ID associated with each user. I know that B2C generates a hexadecimal UUID, but that would be a very large number if converted to an integer.
Before my client switched to B2C, they used an auto incrementing column for each user in the database. But I don't know of an easy way to implement this in B2C. I know how to create custom attributes, which we already use. But I don't know how to create a custom attribute that would auto increment like this.
It doesn't even have to be an auto incremented value, but just an integer value that isn't enormous. One thought was to use the array index of the user, but then anytime a user is deleted, the other IDs would have to be updated in the database, so that's not really feasible.
Any suggestions would be greatly appreciated.