Difference between revisions of "Knowledge:Script Utilities"
From OpenKM Documentation
Line 1: | Line 1: | ||
− | + | == Get principals == | |
<source lang="java"> | <source lang="java"> | ||
import com.openkm.spring.PrincipalUtils; | import com.openkm.spring.PrincipalUtils; |
Revision as of 08:26, 10 October 2012
Get principals
import com.openkm.spring.PrincipalUtils;
print(PrincipalUtils.getRoles());