Interface IContentSecurityRepository
A repository for Security info for IContent object This class supports the EPiServer infrastructure and is not intended to be used directly from your code.
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public interface IContentSecurityRepository
Methods
Delete(String, SecurityEntityType)
Deletes the specified user or role name.
Declaration
void Delete(string userOrRoleName, SecurityEntityType entityUserRole)
Parameters
Type | Name | Description |
---|---|---|
System. |
userOrRoleName | Name of the user or role. |
Security |
entityUserRole | The entity user role. |
Get(ContentReference)
Gets the specified content security descriptor object for the requested content link.
Declaration
IContentSecurityDescriptor Get(ContentReference contentLink)
Parameters
Type | Name | Description |
---|---|---|
Content |
contentLink | The content link. |
Returns
Type | Description |
---|---|
IContent |
Save(ContentReference, IContentSecurityDescriptor, SecuritySaveType)
Saves the specified content security descriptor.
Declaration
void Save(ContentReference ContentLink, IContentSecurityDescriptor contentSecurityDescriptor, SecuritySaveType securitySaveType)
Parameters
Type | Name | Description |
---|---|---|
Content |
ContentLink | The content link. |
IContent |
contentSecurityDescriptor | The content security descriptor. |
Security |
securitySaveType | Type of the security save. |
Events
ContentSecuritySaved
Occurs when [content security saved].
Declaration
event EventHandler<ContentSecurityEventArg> ContentSecuritySaved
Event Type
Type | Description |
---|---|
System. |