Click or drag to resize
RibbonCustomActionProvision Method (Guid, SPSite, ListTypes, ListForms, SPBasePermissions)
Provision all pending customizations to specified site collection. 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,
	SPSite site,
	ListTypes listType,
	ListForms whichForms,
	SPBasePermissions rights
)

Parameters

featureUniqueGuid
Type: SystemGuid
Guid, needed for feature-scoped cleanup in FeatureDeactivating using RemoveAllCustomizations(SPSite, Guid) method.
site
Type: SPSite
Site collection, to which the ribbon customizations will be provisioned
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