Class PublicAccessEntrySlim
Represents a lightweight public access entry containing essential access control information.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public class PublicAccessEntrySlim
Constructors
View SourcePublicAccessEntrySlim()
Declaration
public PublicAccessEntrySlim()
Properties
View SourceContentId
Gets or sets the unique identifier of the protected content.
Declaration
public Guid ContentId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
ErrorPageId
Gets or sets the unique identifier of the error page shown for unauthorized access.
Declaration
public Guid ErrorPageId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
LoginPageId
Gets or sets the unique identifier of the login page.
Declaration
public Guid LoginPageId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
MemberGroupNames
Gets or sets the names of member groups allowed to access the content.
Declaration
public string[] MemberGroupNames { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
MemberUserNames
Gets or sets the usernames of members allowed to access the content.
Declaration
public string[] MemberUserNames { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |