SaaS CMS has officially launched! Learn more now.

Class GroupDefinitionsAttribute

Specifies Group definitions type.

Inheritance
System.Object
GroupDefinitionsAttribute
Namespace: EPiServer.DataAnnotations
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class GroupDefinitionsAttribute : Attribute
Remarks

This attribute is used to define groupName or TabDefinition.

Examples

Here is an example on how you can use the GroupDefinitionsAttribute

    [GroupDefinitions]
    public static class GroupNames
    {
        [Display(Name = "GroupNameDisplayName", Order = 100)]
        [RequiredAccess(Access = EPiServer.Security.AccessLevel.Read | EPiServer.Security.AccessLevel.Create)]
        public static String Group = "GroupName";
    }

Constructors

GroupDefinitionsAttribute()

Declaration
public GroupDefinitionsAttribute()

Extension Methods