Class UnifiedPathDB

Database class for reading EPiServer directory ACL information This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

Inheritance
System.Object
UnifiedPathDB
Namespace: EPiServer.DataAccess
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[ServiceConfiguration]
public class UnifiedPathDB : DataAccessBase

Constructors

UnifiedPathDB(IDatabaseHandler)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public UnifiedPathDB(IDatabaseHandler databaseHandler)
Parameters
Type Name Description
IDatabaseHandler databaseHandler

Methods

ClearAclForMembership(String, SecurityEntityType)

Clears the acl for a given membership. This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public void ClearAclForMembership(string userOrRoleName, SecurityEntityType securityEntityType)
Parameters
Type Name Description
System.String userOrRoleName

Name of the user or role.

SecurityEntityType securityEntityType

The SecurityEntityType of the user/role.

Delete(Int32)

Deletes and UnifiedPathInfo entry with Id and all it's related database entries. This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public void Delete(int id)
Parameters
Type Name Description
System.Int32 id

DeleteAll()

Deletes ALL UnifiedPathInfo entries and related data from database. This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public void DeleteAll()

Load(String)

Loads a DataSet joined from tables tblUnifiedPath, tblUnifiedPathAcl and tblUnifiedPathProperty based upon the unified key from the virtualPath supplied. This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public DataSet Load(string virtualPath)
Parameters
Type Name Description
System.String virtualPath
Returns
Type Description
System.Data.DataSet

MoveAll(String, String)

Moves all entries with a VirtualPath to another path. This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public void MoveAll(string fromVirtualPath, string toVirtualPath)
Parameters
Type Name Description
System.String fromVirtualPath
System.String toVirtualPath

Save(Int32, String, Boolean, AccessControlList, IDictionary)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public int Save(int id, string virtualPath, bool inheritAcl, AccessControlList acl, IDictionary metaData)
Parameters
Type Name Description
System.Int32 id
System.String virtualPath
System.Boolean inheritAcl
AccessControlList acl
System.Collections.IDictionary metaData
Returns
Type Description
System.Int32

Search(String, String, String, String, String, String, String)

Searches for a UnifiedPathInfo This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public DataSet Search(string path, string param1, string value1, string param2, string value2, string param3, string value3)
Parameters
Type Name Description
System.String path
System.String param1
System.String value1
System.String param2
System.String value2
System.String param3
System.String value3
Returns
Type Description
System.Data.DataSet

Extension Methods