Click or drag to resize

SSMapServicesReorderUserAgents Method


Reorders collection of User Agents based on provided sequence of names. The order of User Agents are important, since it will determine with User Agent branding gets evaluated and used first.

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<string[]> ReorderUserAgents(
	string[] data
)

Parameters

data
Type: SystemString

Array of names of User Agents, reflecting the updated order

Examples
Sample JSON input
JavaScript
{
    "data": ["Chrome", "IE"]
}

Return Value

Type: XHRServiceResponseGenericString

Array of User Agent names reflecting the updated order

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": ["Chrome", "IE"]
}
See Also