View Source
Class PublicAccessEntry
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[Serializable]
[DataContract(IsReference = true)]
public class PublicAccessEntry : EntityBase, IRememberBeingDirty, ICanBeDirty, IEntity, IDeepCloneable
Constructors
View Source
PublicAccessEntry(Guid, Int32, Int32, Int32, IEnumerable<PublicAccessRule>)
Declaration
public PublicAccessEntry(Guid id, int protectedNodeId, int loginNodeId, int noAccessNodeId, IEnumerable<PublicAccessRule> ruleCollection)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.Int32 |
protectedNodeId |
|
System.Int32 |
loginNodeId |
|
System.Int32 |
noAccessNodeId |
|
System.Collections.Generic.IEnumerable<PublicAccessRule> |
ruleCollection |
|
View Source
PublicAccessEntry(IContent, IContent, IContent, IEnumerable<PublicAccessRule>)
Declaration
public PublicAccessEntry(IContent protectedNode, IContent loginNode, IContent noAccessNode, IEnumerable<PublicAccessRule> ruleCollection)
Parameters
Properties
View Source
LoginNodeId
Declaration
[DataMember]
public int LoginNodeId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
NoAccessNodeId
Declaration
[DataMember]
public int NoAccessNodeId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
ProtectedNodeId
Declaration
[DataMember]
public int ProtectedNodeId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
Rules
Declaration
public IEnumerable<PublicAccessRule> Rules { get; }
Property Value
Methods
View Source
AddRule(String, String)
Declaration
public PublicAccessRule AddRule(string ruleValue, string ruleType)
Parameters
Type |
Name |
Description |
System.String |
ruleValue |
|
System.String |
ruleType |
|
Returns
View Source
ClearRules()
Declaration
View Source
PerformDeepClone(Object)
Declaration
protected override void PerformDeepClone(object clone)
Parameters
Type |
Name |
Description |
System.Object |
clone |
|
View Source
RemoveRule(PublicAccessRule)
Declaration
public void RemoveRule(PublicAccessRule rule)
Parameters
View Source
ResetDirtyProperties(Boolean)
Declaration
public override void ResetDirtyProperties(bool rememberDirty)
Parameters
Type |
Name |
Description |
System.Boolean |
rememberDirty |
|