Ejemplo n.º 1
0
        protected override void LoadInternal(XmlElement element)
        {
            base.LoadInternal(element);
            ApplicationVersion = GetAttribute(element, APPLICATIONVERSION);

            Groups          = new Collections.ApplicationGroupCollection(XmlApplicationGroup.GetChildren(element), false);
            Operations      = new Collections.OperationCollection(XmlOperation.GetChildren(element), false);
            Tasks           = new Collections.TaskCollection(XmlTask.GetTasks(element), false);
            Roles           = new Collections.RoleDefinitionCollection(XmlRoleDefinition.GetRoles(element), false);
            RoleAssignments = new Collections.RoleAssignmentsCollection(XmlRoleAssignments.GetChildren(element));
        }
Ejemplo n.º 2
0
        public override void Load(System.DirectoryServices.Protocols.SearchResultEntry entry)
        {
            base.Load(entry);

            Roles = GetRoles(Key, true);
        }
Ejemplo n.º 3
0
 protected override void LoadInternal(XmlElement element)
 {
     base.LoadInternal(element);
     Roles = new Collections.RoleDefinitionCollection(GetLinks(element, ROLE), true);
 }