sv:userIdentity
The identity of a sv:user for a specific site.
Name | Type and description |
---|---|
<identity-name> | Dynamic / Model dependent |
The name of the identity (e.g. "John Doe"). |
Name | Type and description |
---|---|
backingUser | javax.jcr.PropertyType.WEAKREFERENCE |
A reference to the sv:user this identity is based on [@since 3.5.3]. | |
disabled | javax.jcr.PropertyType.BOOLEAN |
Whether or not the identity is disabled/inactive or not [@since 4.1]. | |
fullName | javax.jcr.PropertyType.STRING |
The name (first + last name) of the identity. | |
hidden | javax.jcr.PropertyType.BOOLEAN |
Whether or not the identity is hidden/searchable or not [@since 4.1] |
Sitevision Utility API tip!
- Current sv:userIdentity can be looked up via PortletContextUtil.getCurrentUserIdentity
- The sv:userIdentity for a known sv:user can be looked up or created via UserIdentityUtil
- Buddy icons for a sv:userIdentity can be rendered via the BuddyIconRenderer
- User fields for a sv:userIdentity can be rendered via the UserFieldRenderer
- The social network (contacts and groups) of a sv:userIdentity can be queried and updated via UserIdentityWrapper.
- ResourceLocatorUtil contains methods to retrieve the sv:personalFileRepository and sv:personalImageRepository of a sv:userIdentity.
- The LinkRenderer interface can be used to render a link to the profile page of a sv:userIdentity.
Note! This node type was introduced in Sitevision 3.5