Click or drag to resize
RibbonCustomActionProvision Method (Guid, SPWeb, ListTypes, 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,
	SPWeb web,
	ListTypes listType,
	ListForms whichForms,
	SPBasePermissions rights
)

Parameters

featureUniqueGuid
Type: SystemGuid
Guid, needed for feature-scoped cleanup in FeatureDeactivating using RemoveAllCustomizations(SPSite, Guid) method.
web
Type: SPWeb
listType
Type: FluentRibbonListTypes
One of standard list types, for which ribbon elements will be registered
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