Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Elijah "Ellie" Mangason
Liferay 6.1.1 how to create guest users programmatically?
September 19, 2012 2:15 PM
Answer

Elijah "Ellie" Mangason

Rank: Junior Member

Posts: 67

Join Date: May 14, 2012

Recent Posts

I need to programmatically create several users and designate them as guests. I've got the code in place to create the users, but am unsure on how to give them the 'guest' designation. Would anyone know how to do that, or point me in the right direction. Any and all help is really appreciated!
David H Nebinger
RE: Liferay 6.1.1 how to create guest users programmatically?
September 19, 2012 3:26 PM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 9271

Join Date: September 1, 2006

Recent Posts

I think if you remove all of their roles (even the User role), they're treated as guests...
Elijah "Ellie" Mangason
RE: Liferay 6.1.1 how to create guest users programmatically?
September 20, 2012 9:46 AM
Answer

Elijah "Ellie" Mangason

Rank: Junior Member

Posts: 67

Join Date: May 14, 2012

Recent Posts

Ok, thanks. I'll try doing that!