Extends: AbstractCollectionResource

Implements: CollectionResource, UserAdminResource, MakeCollectionableResource, PropFindableResource, GetableResource, PrincipalResource, Mailbox, CalDavPrincipal, CardDavPrincipal, ProfileResource, RepositoriesHome


Properties

NameReturnsNotes
accessControlListMap<Principal,List<AccessControlledResource.Priviledge>>Get all allowed priviledges for all principals on this resource. Note that a principal might be a user, a group, or a built-in webdav group such as AUTHENTICATED
activeMenuIdsString[]
addressString
addressBookHomeSetHrefList
allFieldsMap<String,String>Returns a map of all fields stored against this profile for all groups in this organisation, keyed on the field name. If there are fields with the same name only one will be in the map
calendarHomeSetHrefListContains a single path, which is the path to this users collection of calendars
calendarUserAddressSetHrefList
calendarUserTypeString
childrenResourceList<CommonResource>
createDateDateThe date this profile was created
currentUserRolesSet<Role>Get all current roles for a user
directoryTemplateString
emailString
emailDisabledboolean
extProfileBeanExtProfileBean
firstNameStringThe user's first name
formattedNameString
hasPasswordbooleanCheck if there is a password for this account
idenitiferPrincipleIdThe identifier is the same as the path to the user
inboxMessageFolderA folder containing received messages
lastVisitDate
membershipsMembershipListGet all memberships for organisations within the current organisation
modifiedDateDate
nameString
nickNameStringThe name the user was asked to be identified as. Note there is no uniqueness constraints on this field
parentCommonCollectionResource
phoneStringThe standard phone number field for a profile
primaryMembershipMembershipBeanGet the first membership for the primary group this user is associated with. Return null if there are none.
primaryMembershipsMembershipListGet all primary memberships as a list
profileProfileBean
profilePicHrefString
repositoriesList<BranchFolder>Get the repositories owned by this user
signatureCredentialsMap<String,SignatureCredentialBean>
supportedComponentSetsSupportedCalendarComponentListsSet
surNameStringThe user's surname
thisEntityBaseEntity
thisProfileProfile
thisUserProfileGet the user this resource represents
titleStringReturns the title (ie, as in the page title) of the resource. This is the nickname if available, otherwise the first name, otherwise the resource name, which is also the user ID
userIdLongThe numeric ID of this user. Always unique

Methods

SignatureReturnsNotes
isInGroup(String groupName)booleanCheck if the user has a membershuip in the organisation currently being accessed, or a child of it, to a group of the given name
isInGroup(String groupName, String orgId)booleanCheck if the user has a membershuip in the group, for the given organisation
memberships(String groupName)MembershipList
dailyVisits(Date from, Date to)List<DayStat>Get the number of hits for each day with visits for this user and website, in the given date range
dailyVisits(Website website)List<DayStat>
save()voidApply any changes to persistence. Does not use a transaction, so you must have started a transaction already. This will update the search index so should be done last to ensure the transaction is not rolled back
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.