11-21-2012 04:09 PM
String nombreDeUsuario = org.alfresco.repo.security.authentication.AuthenticationUtil.getFullyAuthenticatedUser();
// reporte.pasarParametro(nombreDeUsuario);
11-29-2012 05:11 AM
AuthorityService authorityService=serviceRegistry.getAuthorityService();
Set<String> auths = authorityService.getAuthoritiesForUser(username);
AuthorityService authorityService = serviceRegistry.getAuthorityService();
Set<String> auths = authorityService.getAuthoritiesForUser(username);
Iterator<String> authIt = auths.iterator();
while (authIt.hasNext()){
System.out.println("- " + authIt.next());
}
11-30-2012 05:44 PM
if (model.isDefault == true )
{
model.webviewTitle = "Reporte";
model.uri = "http://localhost:8080/reportebcsa/index.jsp?usr='+person.properties.userName;
model.isDefault = false;
}
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.