/// <remarks/>
 public void Role_ListAsync(WebServiceSimpleAuthentication Authentication, object userState)
 {
     if ((this.Role_ListOperationCompleted == null))
     {
         this.Role_ListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRole_ListOperationCompleted);
     }
     this.InvokeAsync("Role_List", new object[] {
         Authentication
     }, this.Role_ListOperationCompleted, userState);
 }
        public bool Role_List(WebServiceSimpleAuthentication Authentication, out APIStatus Status, out PlatformRole[] PlatformRoles)
        {
            object[] results = this.Invoke("Role_List", new object[] {
                Authentication
            });

            Status        = ((APIStatus)(results[1]));
            PlatformRoles = ((PlatformRole[])(results[2]));
            return((bool)(results[0]));
        }
        public bool Role_ChangeName(WebServiceSimpleAuthentication Authentication, string OldRoleName, string NewRoleName, out APIStatus Status)
        {
            object[] results = this.Invoke("Role_ChangeName", new object[] {
                Authentication,
                OldRoleName,
                NewRoleName
            });

            Status = ((APIStatus)(results[1]));
            return((bool)(results[0]));
        }
        public bool Role_GetPermissions(WebServiceSimpleAuthentication Authentication, string RoleName, out APIStatus Status, out EnvironmentPermissionForRole[] PlatformRolePermissions)
        {
            object[] results = this.Invoke("Role_GetPermissions", new object[] {
                Authentication,
                RoleName
            });

            Status = ((APIStatus)(results[1]));
            PlatformRolePermissions = ((EnvironmentPermissionForRole[])(results[2]));
            return((bool)(results[0]));
        }
 /// <remarks/>
 public void Role_GetPermissionsAsync(WebServiceSimpleAuthentication Authentication, string RoleName, object userState)
 {
     if ((this.Role_GetPermissionsOperationCompleted == null))
     {
         this.Role_GetPermissionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRole_GetPermissionsOperationCompleted);
     }
     this.InvokeAsync("Role_GetPermissions", new object[] {
         Authentication,
         RoleName
     }, this.Role_GetPermissionsOperationCompleted, userState);
 }
        public bool Role_Delete(WebServiceSimpleAuthentication Authentication, string RoleName, string UsersNewRoleName, out APIStatus Status, out PlatformUser[] AffectedPlatformUsers)
        {
            object[] results = this.Invoke("Role_Delete", new object[] {
                Authentication,
                RoleName,
                UsersNewRoleName
            });

            Status = ((APIStatus)(results[1]));
            AffectedPlatformUsers = ((PlatformUser[])(results[2]));
            return((bool)(results[0]));
        }
 /// <remarks/>
 public void Role_ChangeNameAsync(WebServiceSimpleAuthentication Authentication, string OldRoleName, string NewRoleName, object userState)
 {
     if ((this.Role_ChangeNameOperationCompleted == null))
     {
         this.Role_ChangeNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRole_ChangeNameOperationCompleted);
     }
     this.InvokeAsync("Role_ChangeName", new object[] {
         Authentication,
         OldRoleName,
         NewRoleName
     }, this.Role_ChangeNameOperationCompleted, userState);
 }
        public bool Role_UpdatePermission(WebServiceSimpleAuthentication Authentication, string RoleName, string EnvironmentKey, int NewPermissionLevelId, out APIStatus Status)
        {
            object[] results = this.Invoke("Role_UpdatePermission", new object[] {
                Authentication,
                RoleName,
                EnvironmentKey,
                NewPermissionLevelId
            });

            Status = ((APIStatus)(results[1]));
            return((bool)(results[0]));
        }
 /// <remarks/>
 public void Role_CreateOrUpdateAsync(WebServiceSimpleAuthentication Authentication, string RoleName, bool CanConfigureInfrastructure, string RoleDescription, object userState)
 {
     if ((this.Role_CreateOrUpdateOperationCompleted == null))
     {
         this.Role_CreateOrUpdateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRole_CreateOrUpdateOperationCompleted);
     }
     this.InvokeAsync("Role_CreateOrUpdate", new object[] {
         Authentication,
         RoleName,
         CanConfigureInfrastructure,
         RoleDescription
     }, this.Role_CreateOrUpdateOperationCompleted, userState);
 }
        public bool Role_CreateOrUpdate(WebServiceSimpleAuthentication Authentication, string RoleName, bool CanConfigureInfrastructure, string RoleDescription, out APIStatus Status, out PlatformRole PlatformRole)
        {
            object[] results = this.Invoke("Role_CreateOrUpdate", new object[] {
                Authentication,
                RoleName,
                CanConfigureInfrastructure,
                RoleDescription
            });

            Status       = ((APIStatus)(results[1]));
            PlatformRole = ((PlatformRole)(results[2]));
            return((bool)(results[0]));
        }
 /// <remarks/>
 public void Role_UpdatePermissionAsync(WebServiceSimpleAuthentication Authentication, string RoleName, string EnvironmentKey, int NewPermissionLevelId, object userState)
 {
     if ((this.Role_UpdatePermissionOperationCompleted == null))
     {
         this.Role_UpdatePermissionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRole_UpdatePermissionOperationCompleted);
     }
     this.InvokeAsync("Role_UpdatePermission", new object[] {
         Authentication,
         RoleName,
         EnvironmentKey,
         NewPermissionLevelId
     }, this.Role_UpdatePermissionOperationCompleted, userState);
 }
 /// <remarks/>
 public void Role_GetPermissionsAsync(WebServiceSimpleAuthentication Authentication, string RoleName)
 {
     this.Role_GetPermissionsAsync(Authentication, RoleName, null);
 }
 /// <remarks/>
 public void Role_DeleteAsync(WebServiceSimpleAuthentication Authentication, string RoleName, string UsersNewRoleName)
 {
     this.Role_DeleteAsync(Authentication, RoleName, UsersNewRoleName, null);
 }
 /// <remarks/>
 public void Role_ListAsync(WebServiceSimpleAuthentication Authentication)
 {
     this.Role_ListAsync(Authentication, null);
 }
 /// <remarks/>
 public void Role_ChangeNameAsync(WebServiceSimpleAuthentication Authentication, string OldRoleName, string NewRoleName)
 {
     this.Role_ChangeNameAsync(Authentication, OldRoleName, NewRoleName, null);
 }
 /// <remarks/>
 public void Role_CreateOrUpdateAsync(WebServiceSimpleAuthentication Authentication, string RoleName, bool CanConfigureInfrastructure, string RoleDescription)
 {
     this.Role_CreateOrUpdateAsync(Authentication, RoleName, CanConfigureInfrastructure, RoleDescription, null);
 }
 /// <remarks/>
 public void Role_UpdatePermissionAsync(WebServiceSimpleAuthentication Authentication, string RoleName, string EnvironmentKey, int NewPermissionLevelId)
 {
     this.Role_UpdatePermissionAsync(Authentication, RoleName, EnvironmentKey, NewPermissionLevelId, null);
 }