掲示板
Add User (Contributor)
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,
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,