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 |
|---|---|
available | javax.jcr.PropertyType.BOOLEAN |
Whether the identity is available or not [@since 2026.04.1.1]. This property correlates somewhat with the disabled property, but the available property is more extensive and resolves its state based on both the identity and its backing user. An identity is unavailable if the identity is disabled, if the backing user is disabled or no longer accessible on the site. NOTE that this property is dynamic, it can only be resolved via PropertyUtil and Properties, not via the Core JCR Model. | |
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 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 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