Click or drag to resize

UserManagerServicesGetCurrentUserProfile Method


Retrieves profile information of specific, or current, user

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<UserProfileInfo> GetCurrentUserProfile(
	string userId
)

Parameters

userId
Type: SystemString
Id of the user, if not provider, will retrieve current user

Return Value

Type: XHRServiceResponseGenericUserProfileInfo

Profile details of the user

Examples

Sample JSON return

JavaScript
{
    "ContentFreezeEndTime": "",
    "ContentFreezeStartTime": "",
    "code": 0,
    "error": null,
    "message": {
        "_tempThumbnailPath": null,
        "cellphone": "",
        "defaultEditFormView": "notset",
        "email": "jime@ingeniux.com",
        "name": "Jim",
        "notificationSound": false,
        "notificationSoundName": "",
        "organization": "Ingeniux Corporation",
        "position": "CEO",
        "thumbnail": "jim.jpg",
        "workphone": ""
    }
}
See Also