Click or drag to resize

IXmlDataImporterFolderPermissions Property

Gets the folder permissions stored in the imported XML document. The folder permissions are available after successfull import. The dictionary maps folder IDs to permission information.

Namespace:  PDTec.IceNet.Core.Xml
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
Dictionary<string, PermissionInfo[]> FolderPermissions { get; }

Property Value

Type: DictionaryString, PermissionInfo
Examples
foreach (KeyValuePair<string, PermissionInfo[]> pPermissions in pImporter.FolderPermissions)
{
    IFolder pFolder = Repository.GetFolder(pPermissions.Key);

    foreach (PermissionInfo info in pPermissions.Value)
    {
        Repository.AddAuthorization(pFolder, info.PartyName, info.Score);
    }
}
See Also