internal static AccessDetails GetSimpleAccess(AccessDetails simple)
 {
     return new AccessDetails()
     {
         AccessMode = simple.AccessMode,
         AccessType = simple.AccessType,
         ActionMode = simple.ActionMode,
         FeatureName = simple.FeatureName,
         Scope = simple.Scope
     };
 }
 /// <summary>
 /// Under each AccessConfiguration section
 /// there are a list of persmissions defined by Access Node.
 /// </summary>
 /// <param name="child"></param>
 /// <returns>LG.Entities.Users.AccessDetails</returns>
 internal static AccessDetails LoadDetails(XElement child)
 {
     var result = new AccessDetails()
     {
         AccessMode = GetAccessModeEnum(child.Attribute(AccessXNames.XAccessMode).Value),
         AccessType = GetAccessTypeEnum(child.Attribute(AccessXNames.XAccessType).Value),
         ActionMode = GetActionModeEnum(child.Attribute(AccessXNames.XActionMode).Value),
         FeatureName = GetFeatureApplicationPortal(child.Attribute(AccessXNames.XFeatureName).Value),
         Scope = GetScope(child),
         AreaList = GetAccessTag(child)
     };
     return result;
 }