/// <summary>
        /// Gets all accounts.
        /// </summary>
        /// <returns>AccountViewItem[][].</returns>
        /// <exception cref="System.NotImplementedException"></exception>
        public AccountViewItem[] GetAllAccounts()
        {
            return(ManageAuthorizationAgentFactory
                   .CreateManageAuthorizationAgent()
                   .GetAllAccounts());

            //return ManageAuthorizationProviderFactory
            //    .CreateManageAuthorizationProvider()
            //    .GetAllAccounts();
        }
 /// <summary>
 /// Deletes the application functions.
 /// </summary>
 /// <param name="applicationFunctionViewItems">The application function view items.</param>
 /// <returns>ApplicationFunctionViewItem[][].</returns>
 /// <exception cref="System.NotImplementedException"></exception>
 public ApplicationFunctionViewItem[] DeleteApplicationFunctions(ApplicationFunctionViewItem[] applicationFunctionViewItems)
 {
     return(ManageAuthorizationAgentFactory
            .CreateManageAuthorizationAgent()
            .DeleteApplicationFunctions(applicationFunctionViewItems));
 }
 /// <summary>
 /// Gets all application functions.
 /// </summary>
 /// <returns>ApplicationFunctionViewItem[][].</returns>
 public ApplicationFunctionViewItem[] GetAllApplicationFunctions()
 {
     return(ManageAuthorizationAgentFactory
            .CreateManageAuthorizationAgent()
            .GetAllApplicationFunctions());
 }
 /// <summary>
 /// Gets the ribbon types.
 /// </summary>
 /// <returns>System.String[][].</returns>
 /// <exception cref="System.NotImplementedException"></exception>
 public string[] GetRibbonTypes()
 {
     return(ManageAuthorizationAgentFactory
            .CreateManageAuthorizationAgent()
            .GetRibbonTypes());
 }
 /// <summary>
 /// Gets the accounts for role.
 /// </summary>
 /// <param name="roleId">The role identifier.</param>
 /// <returns>AccountViewItem[][].</returns>
 /// <exception cref="System.NotImplementedException"></exception>
 public AccountViewItem[] GetAccountsForRole(string roleId)
 {
     return(ManageAuthorizationAgentFactory
            .CreateManageAuthorizationAgent()
            .GetAccountsForRole(roleId));
 }
 /// <summary>
 /// Deletes the accounts for role.
 /// </summary>
 /// <param name="roleId">The role identifier.</param>
 /// <param name="accounts">The accounts.</param>
 /// <returns>AccountViewItem[][].</returns>
 /// <exception cref="System.NotImplementedException"></exception>
 public AccountViewItem[] DeleteAccountsForRole(string roleId, AccountViewItem[] accounts)
 {
     return(ManageAuthorizationAgentFactory
            .CreateManageAuthorizationAgent()
            .DeleteAccountsForRole(roleId, accounts));
 }
 /// <summary>
 /// Deletes the roles.
 /// </summary>
 /// <param name="roleViewItem">The role view item.</param>
 /// <returns>RoleViewItem[][].</returns>
 /// <exception cref="System.NotImplementedException"></exception>
 public RoleViewItem[] DeleteRoles(RoleViewItem[] roleViewItem)
 {
     return(ManageAuthorizationAgentFactory
            .CreateManageAuthorizationAgent()
            .DeleteRoles(roleViewItem));
 }
 /// <summary>
 /// Saves the roles.
 /// </summary>
 /// <param name="roleViewItems">The role view items.</param>
 /// <returns>RoleViewItem[][].</returns>
 /// <exception cref="System.NotImplementedException"></exception>
 public RoleViewItem[] SaveRoles(RoleViewItem[] roleViewItems)
 {
     return(ManageAuthorizationAgentFactory
            .CreateManageAuthorizationAgent()
            .SaveRoles(roleViewItems));
 }
 /// <summary>
 /// Gets all roles.
 /// </summary>
 /// <returns>RoleViewItem[][].</returns>
 /// <exception cref="System.NotImplementedException"></exception>
 public RoleViewItem[] GetAllRoles()
 {
     return(ManageAuthorizationAgentFactory
            .CreateManageAuthorizationAgent()
            .GetAllRoles());
 }
 /// <summary>
 /// Deletes the roles for application function.
 /// </summary>
 /// <param name="applicationFunctionId">The application function identifier.</param>
 /// <param name="roles">The roles.</param>
 /// <returns>RoleViewItem[][].</returns>
 /// <exception cref="System.NotImplementedException"></exception>
 public RoleViewItem[] DeleteRolesForApplicationFunction(string applicationFunctionId, RoleViewItem[] roles)
 {
     return(ManageAuthorizationAgentFactory
            .CreateManageAuthorizationAgent()
            .DeleteRolesForApplicationFunction(applicationFunctionId, roles));
 }
 /// <summary>
 /// Gets the roles for application function.
 /// </summary>
 /// <param name="applicationFunctionId">The application function identifier.</param>
 /// <returns>RoleViewItem[][].</returns>
 /// <exception cref="System.NotImplementedException"></exception>
 public RoleViewItem[] GetRolesForApplicationFunction(string applicationFunctionId)
 {
     return(ManageAuthorizationAgentFactory
            .CreateManageAuthorizationAgent()
            .GetRolesForApplicationFunction(applicationFunctionId));
 }