control of username when inviting external users
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2009 10:07 PM
Hello,
I have Share 3 stable installed and working properly. Great job on finishing off the release.
I have one question that I have not found an answer for by searching the forums. I created a site in share and then wanted to add external users to the site. The email was delivered without a problem but the username is completely randomly generated. I was expecting more first initial of the name and full last name.
Is there a way to modify this behavior so that I can choose which values will be used to create the username via configuration?
Thanks,
G
I have Share 3 stable installed and working properly. Great job on finishing off the release.

I have one question that I have not found an answer for by searching the forums. I created a site in share and then wanted to add external users to the site. The email was delivered without a problem but the username is completely randomly generated. I was expecting more first initial of the name and full last name.
Is there a way to modify this behavior so that I can choose which values will be used to create the username via configuration?
Thanks,
G
Labels:
- Labels:
-
Archive
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2009 12:10 PM
Hi,
Have you found a solution to this problem? I would also like to alter this.
You help would be much appreciated.
Have you found a solution to this problem? I would also like to alter this.
You help would be much appreciated.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2009 01:34 PM
not yet.. not even sure where to begin to look
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2009 02:06 PM
There is currently no way to control the generation of the new user id, however it would be a fairly easy enhancement.
There is a random user id generator in the invite service which is used to generate random user ids.
I've recently refactored the invite service on HEAD but I've not touched this particular behaviour, the class concerned is InvitationServiceImpl if someone wants to attempt a contribution.
There is a random user id generator in the invite service which is used to generate random user ids.
I've recently refactored the invite service on HEAD but I've not touched this particular behaviour, the class concerned is InvitationServiceImpl if someone wants to attempt a contribution.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2009 02:07 PM
I ran across the same thing and found i have to create the username in the web client first then send an invite in Share.
Not an ideal solution, but it works for now.
Not an ideal solution, but it works for now.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2009 04:44 AM
ALFCOM-2018 has now been implemented. Thanks to Ed Lyons for his contibution.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2009 10:30 AM
I think it's cool the ALFCOM-2018 has been implemented, but as a user, how do I access this? Are there new files that I can download? Configurations that I can change? I'm trying to sell my department on this product, and having real usernames is vital (having the ability to add users rather than inviting them would be great too, but right now I can deal with the invite as long as folks can get user names and not numbers).
Thanks
Thanks
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2009 11:03 AM
The latest version (Labs 3.2 preview) of alfresco allows you to plug in a user name generator into the invitation process.
Out of the box it will generate users with firstName_lastName
You can tweak the pattern or plug in your own user name generator.
See invitation-service-context.xml and the definition of "userNameGenerator" in authentication-services-context.xml.
As 'ursash' says a work-around for older versions is to create the user account first and then invite an existing alfresco user rather than relying on the invite process to generate a new account.
Out of the box it will generate users with firstName_lastName
You can tweak the pattern or plug in your own user name generator.
See invitation-service-context.xml and the definition of "userNameGenerator" in authentication-services-context.xml.
As 'ursash' says a work-around for older versions is to create the user account first and then invite an existing alfresco user rather than relying on the invite process to generate a new account.
