UserManagerServicesGetSingleUser Method Ingeniux CMS Web Services API

Retrieves the full details of a single User by its User Id.

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public XHRServiceResponseGeneric<UserEditorData> GetSingleUser(
	GetSingleItemParam data
)

Parameters

data
Type: GetSingleItemParam

Object containing the User Id. Please note that is not the object Id of the User, but the User Name used for login.

Examples

Sample JSON input
JavaScript
{
    "data": {
        "itemId": "INGENIUX%5Cawang"
    }
}
Remarks

The "itemId" field must be URI encoded.

Return Value

Type: XHRServiceResponseGenericUserEditorData

Full details of the User with matching User Id.

Examples

Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "assignedPages": [{
            "name": "HomeSlider",
            "id": "x69",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "asdfsdf",
            "id": "x68",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "asdfsdf",
            "id": "x64",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Email",
            "id": "x93",
            "checkedOut": true,
            "icon": 11,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Sign Up",
            "id": "x16",
            "checkedOut": true,
            "icon": 2,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "HomeSlider",
            "id": "x31",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "asdfsdf",
            "id": "x18",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Services",
            "id": "x8",
            "checkedOut": false,
            "icon": 2,
            "markedForPublish": true,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "asdfsdf",
            "id": "x29",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "asdfsdf",
            "id": "x24",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Forms",
            "id": "x15",
            "checkedOut": true,
            "icon": 1,
            "markedForPublish": true,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Emailer",
            "id": "x92",
            "checkedOut": true,
            "icon": 11,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Poll",
            "id": "x96",
            "checkedOut": true,
            "icon": 4,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Insert Test",
            "id": "x86",
            "checkedOut": true,
            "icon": 4,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "dbquery",
            "id": "x101",
            "checkedOut": true,
            "icon": 9,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Json - Post with Auth",
            "id": "x98",
            "checkedOut": true,
            "icon": 4,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "DBQuery Test",
            "id": "x90",
            "checkedOut": true,
            "icon": 4,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "What We Offer",
            "id": "x12",
            "checkedOut": true,
            "icon": 1,
            "markedForPublish": true,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "List",
            "id": "x117",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "HomeSlider",
            "id": "x17",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Emailer",
            "id": "x94",
            "checkedOut": true,
            "icon": 11,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "DB Query",
            "id": "x91",
            "checkedOut": true,
            "icon": 4,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "SiteControl",
            "id": "x19",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Json",
            "id": "x97",
            "checkedOut": true,
            "icon": 4,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Home",
            "id": "x5",
            "checkedOut": true,
            "icon": 8,
            "markedForPublish": true,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "CompTest2",
            "id": "x111",
            "checkedOut": true,
            "icon": 9,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "CompTest",
            "id": "x110",
            "checkedOut": true,
            "icon": 9,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "adsfdfs",
            "id": "x88",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "SiteControl",
            "id": "x38",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "asdfsdf",
            "id": "x32",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "HomeSlider",
            "id": "x33",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "zBrush",
            "id": "x120",
            "checkedOut": true,
            "icon": 3,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "zBrush",
            "id": "x121",
            "checkedOut": true,
            "icon": 3,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Emailer",
            "id": "x105",
            "checkedOut": true,
            "icon": 9,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Json",
            "id": "x104",
            "checkedOut": true,
            "icon": 9,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "asdfsdf",
            "id": "x46",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "asdfsdf",
            "id": "x43",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "asdfsdf",
            "id": "x61",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "asdfsdf",
            "id": "x50",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "HomeSlider",
            "id": "x51",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Test",
            "id": "x87",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Features",
            "id": "x10",
            "checkedOut": true,
            "icon": 2,
            "markedForPublish": true,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Terms",
            "id": "x9",
            "checkedOut": true,
            "icon": 2,
            "markedForPublish": true,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "asdfsdf",
            "id": "x79",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "asdfsdf",
            "id": "x82",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Soap",
            "id": "x122",
            "checkedOut": true,
            "icon": 9,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "dbquery",
            "id": "x102",
            "checkedOut": true,
            "icon": 9,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Soap",
            "id": "x123",
            "checkedOut": true,
            "icon": 9,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Poll",
            "id": "x103",
            "checkedOut": true,
            "icon": 9,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "zBrush",
            "id": "x119",
            "checkedOut": true,
            "icon": 3,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Default Dynamic Schemas Test",
            "id": "x100",
            "checkedOut": true,
            "icon": 1,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Soap",
            "id": "x108",
            "checkedOut": true,
            "icon": 9,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "soap1.2",
            "id": "x109",
            "checkedOut": true,
            "icon": 9,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Detail",
            "id": "x124",
            "checkedOut": true,
            "icon": 2,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Json",
            "id": "x126",
            "checkedOut": true,
            "icon": 4,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "SOAP",
            "id": "x95",
            "checkedOut": true,
            "icon": 9,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Json - Post with Auth",
            "id": "x125",
            "checkedOut": true,
            "icon": 4,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Comp",
            "id": "x127",
            "checkedOut": true,
            "icon": 9,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Embedded Component",
            "id": "x128",
            "checkedOut": true,
            "icon": 5,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Embedded Component",
            "id": "x129",
            "checkedOut": true,
            "icon": 5,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Embedded Component",
            "id": "x130",
            "checkedOut": true,
            "icon": 5,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Embedded Component",
            "id": "x131",
            "checkedOut": true,
            "icon": 5,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Embedded Component",
            "id": "x132",
            "checkedOut": true,
            "icon": 5,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Listing",
            "id": "x112",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Embedded Component",
            "id": "x133",
            "checkedOut": true,
            "icon": 3,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Site",
            "id": "x2",
            "checkedOut": true,
            "icon": 1,
            "markedForPublish": true,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "dbquery",
            "id": "x99",
            "checkedOut": true,
            "icon": 4,
            "markedForPublish": true,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "List of comps",
            "id": "x134",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }, {
            "name": "Tax",
            "id": "x135",
            "checkedOut": true,
            "icon": 99,
            "markedForPublish": false,
            "workflow": "",
            "workstate": ""
        }],
        "groups": [{
            "name": "Administrators",
            "active": false,
            "groupId": "UserGroup\/1",
            "id": "UserGroup\/1",
            "userRights": [32, 0],
            "pcrsCount": 2,
            "usersCount": 2,
            "wfDefsCount": 2
        }],
        "info": {
            "name": "Turtle Master",
            "email": "awang@ingeniux.com",
            "receiveWorkFlowNotificationMail": false,
            "id": "INGENIUX\\awang",
            "integratedMembershipProvider": "",
            "readLocales": [{
                "BaseLocale": "en-us",
                "EnglishName": "English (United States)",
                "Locale": "en-us",
                "Name": "English (United States)"
            }, {
                "BaseLocale": "zh-cn",
                "EnglishName": "Chinese (Simplified, PRC)",
                "Locale": "zh-cn",
                "Name": "中文(中华人民共和国)"
            }],
            "writeLocales": [{
                "BaseLocale": "en-us",
                "EnglishName": "English (United States)",
                "Locale": "en-us",
                "Name": "English (United States)"
            }, {
                "BaseLocale": "zh-cn",
                "EnglishName": "Chinese (Simplified, PRC)",
                "Locale": "zh-cn",
                "Name": "中文(中华人民共和国)"
            }]
        },
        "permissions": [32, 32]
    }
}
Remarks

If User doesn't exist, returns error status

See Also

Reference