UserManagerServicesGetCurrentUserProfile Method
|
Retrieves profile information of specific, or current, user
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax public XHRServiceResponseGeneric<UserProfileInfo> GetCurrentUserProfile(
string userId
)
Public Function GetCurrentUserProfile (
userId As String
) As XHRServiceResponseGeneric(Of UserProfileInfo)
public:
virtual XHRServiceResponseGeneric<UserProfileInfo^>^ GetCurrentUserProfile(
String^ userId
) sealed
abstract GetCurrentUserProfile :
userId : string -> XHRServiceResponseGeneric<UserProfileInfo>
override GetCurrentUserProfile :
userId : string -> XHRServiceResponseGeneric<UserProfileInfo>
Parameters
- userId
- Type: SystemString
Id of the user, if not provider, will retrieve current user
Return Value
Type:
XHRServiceResponseGenericUserProfileInfoProfile details of the user
Examples Sample JSON return
{
"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