public GetSecurityAssociationsResponse RestoreRootMapInheritance(string webUrl, GlymaSecurableObject securableObject) { GetSecurityAssociationsResponse result = new GetSecurityAssociationsResponse() { HasError = false }; try { SecurityContextManager context = new SecurityContextManager(webUrl); result = context.RestoreRootMapInheritance(securableObject); } catch (Exception ex) { result.HasError = true; result.ErrorMessage = ex.Message; } return(result); }
public GetSecurityAssociationsResponse RestoreRootMapInheritance(string webUrl, GlymaSecurableObject securableObject) { GetSecurityAssociationsResponse result = new GetSecurityAssociationsResponse() { HasError = false }; try { SecurityContextManager context = new SecurityContextManager(webUrl); result = context.RestoreRootMapInheritance(securableObject); } catch (Exception ex) { result.HasError = true; result.ErrorMessage = ex.Message; } return result; }