SP.UserCustomActionCollection.getById(userCustomActionId) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Applies To
Remarks

Returns the custom action with the specified identifier.

var value = SP.UserCustomActionCollection.getById(userCustomActionId);

Parameters

  • userCustomActionId
    Specifies the identifier of the custom action.

Type: SP.Guid

Return Value

Type: SP.UserCustomAction

Applies To

SP.UserCustomActionCollection Class

Remarks

It must return null if no custom action corresponds to the specified identifier.

See Also

Reference

SP.UserCustomActionCollection Methods

SP.UserCustomActionCollection Properties

SP Namespace