public class GetNuxeoPrincipal extends AbstractDirectoryOperation
UserManager
and return it as a DocumentModel
. Using the DocumentModel rather that a
POJO allow to also fetch custom properties.Modifier and Type | Field and Description |
---|---|
protected OperationContext |
ctx |
static String |
ID |
protected String |
login |
protected UserManager |
umgr |
Constructor and Description |
---|
GetNuxeoPrincipal() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
run() |
canManageDirectories, createActionContext, validateCanManageDirectories
public static final String ID
protected UserManager umgr
protected OperationContext ctx
public GetNuxeoPrincipal()
public DocumentModel run()
Copyright © 2015 Nuxeo SA. All rights reserved.