Click or drag to resize
RibbonCustomActionProvision Method (Guid, SPList, ListForms, SPBasePermissions)
Provision all pending customizations to specified web. Customizations will be shown on specified list pages, only to users with appropriate rights.

Namespace: FluentRibbon
Assembly: FluentRibbon (in FluentRibbon.dll) Version: 1.0.5338.15939
Syntax
C#
public Guid Provision(
	Guid featureUniqueGuid,
	SPList list,
	ListForms whichForms,
	SPBasePermissions rights
)

Parameters

featureUniqueGuid
Type: SystemGuid
Guid, needed for feature-scoped cleanup in FeatureDeactivating using RemoveAllCustomizations(SPSite, Guid) method.
list
Type: SPList
SPList, where a ribbon will be added
whichForms
Type: FluentRibbonListForms
List forms, which will display the ribbon
rights
Type: SPBasePermissions
Minimal privilegies, needed to see the ribbon elements

Return Value

Type: Guid
Id of Provisioned custom action
See Also