SP.ListCollection.getById(uniqueId) Method
Applies to: SharePoint Foundation 2010
Returns the list with the specified list identifier.
var value = SP.ListCollection.getById(uniqueId);
Parameters
- uniqueId
Specifies the list identifier.
Type: SP.Guid
Return Value
Type: SP.List
Applies To
Exceptions
- [Microsoft.SharePoint.SPException]
List does not exist. Error code: -2130246262.
- [System.UnauthorizedAccessException]
The current user has insufficient permissions. Error code: - 2147024891.