Try our conversational search powered by Generative AI!

Interface ISecuredFragmentMarkupGenerator

Generates markup for a IStringFragment to indicate that it's restricted to a specified list of groups.

Inherited Members
Namespace: EPiServer.Core.Html.StringParsing
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface ISecuredFragmentMarkupGenerator : IContentGroup

Properties

RoleSecurityDescriptor

Gets or sets the role security descriptor that has information on which groups the content should be restricted to.

Declaration
IRoleSecurityDescriptor RoleSecurityDescriptor { get; set; }
Property Value
Type Description
IRoleSecurityDescriptor

The role security descriptor.

Methods

GenerateCompressedGroupDisplayInformation()

Generates markup for an html editor to display information that the content is restricted to groups.

Declaration
string GenerateCompressedGroupDisplayInformation()
Returns
Type Description
System.String

Markup for an html editor to display information that the content is restricted to groups.

Remarks

Used for inline elements.

See Also

GenerateGroupDisplayInformation()

Generates markup for an html editor to display the groups that the content is restricted to.

Declaration
string GenerateGroupDisplayInformation()
Returns
Type Description
System.String

Markup for an html editor to display the groups that the content is restricted to.

Remarks

Used for block elements.

See Also

GenerateGroupStorageInformation()

Generates a string that can be used to store the groups that the content should be restricted to.

Declaration
string GenerateGroupStorageInformation()
Returns
Type Description
System.String

A string that can be used to store the groups that the content should be restricted to.

Remarks

This could be a comma separated string with group names or id:s.

Extension Methods