SP.RegionalSettings.collationLCID property (sp.js)

Gets the locale identifier (LCID) for the collation rules that are used on the site.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.RegionalSettings.get_collationLCID ()

Return value

Undefined

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/RegionalSettings/collationLCID

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/RegionalSettings/collationLCID

GET syntax

GET http://<sitecollection>/<site>/_api/web/RegionalSettings/collationLCID

Remarks

A collation specifies the bit patterns that represent each character and the rules by which characters are sorted and compared.