Click or drag to resize

ContentRestriction Methods

The ContentRestriction type exposes the following members.

Methods
  NameDescription
Public methodStatic memberClearCache
Clears cache.
Public methodContainsProfile(String)
Determines whether the given visitor profile is in scope of this restriction.
Public methodContainsProfile(Profile)
Determines whether the given visitor profile is in scope of this restriction.
Public methodCopyTo
Copies the state of the current object into the given one.
Public methodDelete
Deletes the current content restriction.
Public methodStatic memberDeleteRestrictionByID
Deletes the given content restriction.
Public methodStatic memberDeleteRestrictionByItem
Deletes the given content restriction.
Public methodStatic memberDeleteRestrictions
Deletes all content restrictions.
Public methodStatic memberDeleteRestrictionsByPreset
Deletes all content restrictions that has the given preset attached.
Public methodStatic memberDeleteRestrictionsByProfile(String)
Deletes all restrictions that references the given profile.
Public methodStatic memberDeleteRestrictionsByProfile(ContentRestrictionData)
Deletes all restrictions that references the given profile.
Public methodStatic memberDeleteRestrictionsByProfile(Profile)
Deletes all restrictions that references the given profile.
Public methodStatic memberDeleteRestrictionsByType
Deletes all content restrictions with the given item type.
Public methodStatic memberGetRestrictionByID
Returns existing content restriction by its ID.
Public methodStatic memberGetRestrictionByItem
Returns an existing content restriction by its item ID and item type.
Public methodStatic memberGetRestrictions
Returns a list of all content restrictions.
Public methodStatic memberGetRestrictionsByType
Returns a list of all content restrictions with the given item type.
Public methodSave
Saves the current content restriction.
Top
See Also