Class CustomerSecurityScope
Implements
Inherited Members
Namespace: Mediachase.Commerce.Customers.Security
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class CustomerSecurityScope : SecurityScope, ICloneable, IHierarchyData, IHierarchicalEnumerable, IEnumerable
Constructors
CustomerSecurityScope(PrimaryKeyId)
Declaration
public CustomerSecurityScope(PrimaryKeyId scopeIdentity)
Parameters
Type | Name | Description |
---|---|---|
PrimaryKeyId | scopeIdentity |
CustomerSecurityScope(SecurityScope)
Declaration
public CustomerSecurityScope(SecurityScope scope)
Parameters
Type | Name | Description |
---|---|---|
SecurityScope | scope |
CustomerSecurityScope(String)
Declaration
public CustomerSecurityScope(string scopeIdentity)
Parameters
Type | Name | Description |
---|---|---|
System.String | scopeIdentity |
Properties
HasChildren
Indicates whether the hierarchical data node that the System.Web.UI.IHierarchyData object represents has any child nodes.
Declaration
public bool HasChildren { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
InnerOrganization
Declaration
public Organization InnerOrganization { get; }
Property Value
Type | Description |
---|---|
Organization |
Item
Gets the hierarchical data node that the System.Web.UI.IHierarchyData object represents.
Declaration
public object Item { get; }
Property Value
Type | Description |
---|---|
System.Object |
OrganizationId
Declaration
public PrimaryKeyId OrganizationId { get; set; }
Property Value
Type | Description |
---|---|
PrimaryKeyId |
Owner
Gets or sets the owner.
Declaration
public string Owner { get; set; }
Property Value
Type | Description |
---|---|
System.String | The owner. |
Path
Gets the hierarchical path of the node.
Declaration
public virtual string Path { get; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets the name of the type of System.Object contained in the System.Web.UI.IHierarchyData.Item property.
Declaration
public string Type { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Clone()
Clones this instance.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object |
Overrides
GetChildren()
Gets an enumeration object that represents all the child nodes of the current hierarchical node.
Declaration
public IHierarchicalEnumerable GetChildren()
Returns
Type | Description |
---|---|
System.Web.UI.IHierarchicalEnumerable | An System.Web.UI.IHierarchicalEnumerable collection of child nodes of the current hierarchical node. |
GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | An System.Collections.IEnumerator object that can be used to iterate through the collection. |
GetHierarchyData(Object)
Returns a hierarchical data item for the specified enumerated item.
Declaration
public IHierarchyData GetHierarchyData(object enumeratedItem)
Parameters
Type | Name | Description |
---|---|---|
System.Object | enumeratedItem | The System.Object for which to return an System.Web.UI.IHierarchyData. |
Returns
Type | Description |
---|---|
System.Web.UI.IHierarchyData | An System.Web.UI.IHierarchyData instance that represents the System.Object passed to the System.Web.UI.IHierarchicalEnumerable.GetHierarchyData(System.Object) method. |
GetParent()
Gets an System.Web.UI.IHierarchyData object that represents the parent node of the current hierarchical node.
Declaration
public IHierarchyData GetParent()
Returns
Type | Description |
---|---|
System.Web.UI.IHierarchyData | An System.Web.UI.IHierarchyData object that represents the parent node of the current hierarchical node. |