Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
Atahar Khan
Add User (Contributor)
14 febbraio 2013 20.16
Risposta

Atahar Khan

Punteggio: New Member

Messaggi: 17

Data di Iscrizione: 26 ottobre 2012

Messaggi recenti

while using method

jobTitle="Organization Contributor";
role = RoleLocalServiceUtil.getRole(companyId, jobTitle);
roleids[0]=role.getRoleId();

user = UserLocalServiceUtil.addUser(serviceContext.getUserId(), companyId, false,password, password, false, screenName, emailAddress, 0L, "", locale,firstName, "",
"", 0, 0, true, 1, 3,1986, jobTitle, gpId, orgId, roleids,null, false, serviceContext);

assigning role as Contributor, But this contributor is able to add web content on every site,
and web content added by this contributor is shown on every site,

is it a problem with permission or configuration,

Please guide me

Thanks,