Click or drag to resize

IXmlDataImporterObjectPermissions Property

Gets the object permissions stored in the imported XML document. The object permissions are available after successfull import. The dictionary maps object 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[]> ObjectPermissions { get; }

Property Value

Type: DictionaryString, PermissionInfo
Examples
foreach (KeyValuePair<string, PermissionInfo[]> pPermissions in pImporter.ObjectPermissions)
{
    IObject pObject = Repository.GetObject(pPermissions.Key);

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