Show / Hide Table of Contents

Class UserManagementViewModel

View Model for the user management.

Inheritance
System.Object
ViewModelBase<UserManagementView>
TabItemViewModel<UserManagementView>
UserManagementViewModel
Implements
IViewInitialize
IUserManagementViewProvider
IViewProvider
IClosingNotification
Inherited Members
TabItemViewModel<UserManagementView>.FocusView()
TabItemViewModel<UserManagementView>.LogOnlyIfTabActive(String, String, Object[])
TabItemViewModel<UserManagementView>.LogOnlyIfTabActive(String, LogSeverity, String, Object[])
TabItemViewModel<UserManagementView>.LogOnlyIfTabActive(String, Guid, String, Object[])
TabItemViewModel<UserManagementView>.LogOnlyIfTabActive(String, Guid, LogSeverity, String, Object[])
TabItemViewModel<UserManagementView>.LoglineOnlyIfTabActive(String, String, Object[])
TabItemViewModel<UserManagementView>.LoglineOnlyIfTabActive(String, LogSeverity, String, Object[])
TabItemViewModel<UserManagementView>.LoglineOnlyIfTabActive(String, Guid, String, Object[])
TabItemViewModel<UserManagementView>.LoglineOnlyIfTabActive(String, Guid, LogSeverity, String, Object[])
TabItemViewModel<UserManagementView>.LogExceptionOnlyIfTabActive(String, LogSeverity, Exception)
TabItemViewModel<UserManagementView>.LogCriticalExceptionOnlyIfTabActive(String, Exception)
ViewModelBase<UserManagementView>.Closed
ViewModelBase<UserManagementView>.IsClosable
ViewModelBase<UserManagementView>.IsDockable
ViewModelBase<UserManagementView>.HeaderName
ViewModelBase<UserManagementView>.View
ViewModelBase<UserManagementView>.IViewProvider.View
ViewModelBase<UserManagementView>.EventAggregator
ViewModelBase<UserManagementView>.Logger
ViewModelBase<UserManagementView>.Closing(CancelEventArgs)
ViewModelBase<UserManagementView>.IViewInitialize.Initialize()
ViewModelBase<UserManagementView>.IViewInitialize.Uninitialize()
ViewModelBase<UserManagementView>.IClosingNotification.Closed(EventArgs)
ViewModelBase<UserManagementView>.OnClosing(CancelEventArgs)
ViewModelBase<UserManagementView>.OnClosed()
ViewModelBase<UserManagementView>.CloseView()
Namespace: Phoenix.Users
Assembly: Phoenix.Plugin.Users.dll
Syntax
public class UserManagementViewModel : TabItemViewModel<UserManagementView>, IViewInitialize, IUserManagementViewProvider, IViewProvider, IClosingNotification

Constructors

View Source

UserManagementViewModel(UserManagementView, IWindowingControl, IEventAggregator, IPhoenixLogger, IUserManager)

Initializes a new instance of the UserManagementViewModel class.

Declaration
public UserManagementViewModel(UserManagementView view, IWindowingControl windowing, IEventAggregator eventAggregator, IPhoenixLogger logger, IUserManager userManager)
Parameters
Type Name Description
UserManagementView view

The user management view.

IWindowingControl windowing
IEventAggregator eventAggregator

The event aggregator.

IPhoenixLogger logger

The logger.

IUserManager userManager

The user manager.

Fields

View Source

Name

The tab header name.

Declaration
public const string Name = "User Management"
Field Value
Type Description
System.String

Properties

View Source

AddSelectedSerializableUsersToDeviceCommand

Gets the command to add all serializable users to the currently selected device.

Declaration
public DelegateCommand AddSelectedSerializableUsersToDeviceCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

AddSelectedToMasterListCommand

Gets the command to add the selected users to the master list.

Declaration
public DelegateCommand AddSelectedToMasterListCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

AddUserCommand

Gets the command to add a user.

Declaration
public DelegateCommand<bool?> AddUserCommand { get; }
Property Value
Type Description
DelegateCommand<System.Nullable<System.Boolean>>
View Source

AllUsersAreSelected

Gets or sets a value indicating whether or not all users are selected or deselected.

Declaration
public bool AllUsersAreSelected { get; set; }
Property Value
Type Description
System.Boolean
View Source

AutoAddToMasterUserList

Gets or sets a value indicating whether or not to auto add added users to the master user list.

Declaration
public bool? AutoAddToMasterUserList { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
View Source

BulkFriendUsersCommand

Gets the command to launch the bulk friend dialog.

Declaration
public DelegateCommand BulkFriendUsersCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

CanRefreshUsers

Gets a value indicating whether a user refresh is being prevented or not by a previous refresh.

Declaration
public bool CanRefreshUsers { get; }
Property Value
Type Description
System.Boolean
View Source

CanRequestRemove

Gets a value indicating whether the Remove User option should be enabled.

Declaration
public bool CanRequestRemove { get; }
Property Value
Type Description
System.Boolean
View Source

CanRequestSignIn

Gets a value indicating whether the Sign In option should be enabled.

Declaration
public bool CanRequestSignIn { get; }
Property Value
Type Description
System.Boolean
View Source

CanRequestSignOut

Gets a value indicating whether the Sign Out option should be enabled.

Declaration
public bool CanRequestSignOut { get; }
Property Value
Type Description
System.Boolean
View Source

ClearDefaultSignInCommand

Gets the command to clear the sign in default for the current device.

Declaration
public DelegateCommand ClearDefaultSignInCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

CopyTextToClipboardCommand

Gets the command to copy text to the clip board.

Declaration
public DelegateCommand<string> CopyTextToClipboardCommand { get; }
Property Value
Type Description
DelegateCommand<System.String>
View Source

CopyUserDataToClipboardCommand

Gets the command to copy the user's data to the clip board.

Declaration
public DelegateCommand<User> CopyUserDataToClipboardCommand { get; }
Property Value
Type Description
DelegateCommand<User>
View Source

CurrentDevice

Gets the currently selected device.

Declaration
public IDevice CurrentDevice { get; }
Property Value
Type Description
IDevice
View Source

CurrentDeviceDisconnected

Gets a value indicating whether or not the current device is disconnected.

Declaration
public bool CurrentDeviceDisconnected { get; }
Property Value
Type Description
System.Boolean
View Source

ImportFromFileCommand

Gets the command to import users from an XDP export file.

Declaration
public DelegateCommand ImportFromFileCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

OpenProfileViewForSerializableUserCommand

Gets the command to update the password for a user.

Declaration
public AsyncDelegateCommand<SerializableUser> OpenProfileViewForSerializableUserCommand { get; }
Property Value
Type Description
AsyncDelegateCommand<SerializableUser>
View Source

RefreshCurrentDeviceCommand

Gets the command that refreshes the current device.

Declaration
public DelegateCommand RefreshCurrentDeviceCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

RemoveSelectedUsersCommand

Gets the command to remove all users.

Declaration
public DelegateCommand RemoveSelectedUsersCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

RemoveUserCommand

Gets the command to remove a user.

Declaration
public DelegateCommand<User> RemoveUserCommand { get; }
Property Value
Type Description
DelegateCommand<User>
View Source

SerializationManager

Gets the serialization manager.

Declaration
public UserSerializationManager SerializationManager { get; }
Property Value
Type Description
UserSerializationManager
View Source

SetUserAsDefaultSignInCommand

Gets the command to set a user as default sign in for the current device.

Declaration
public DelegateCommand<User> SetUserAsDefaultSignInCommand { get; }
Property Value
Type Description
DelegateCommand<User>
View Source

SignInSerializableUserWhenAddedToDevice

Gets or sets a value indicating whether or not to sign in a serializable user when they are added to a device

Declaration
public bool? SignInSerializableUserWhenAddedToDevice { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
View Source

SignInUserCommand

Gets the command to sign in a user.

Declaration
public DelegateCommand<User> SignInUserCommand { get; }
Property Value
Type Description
DelegateCommand<User>
View Source

SignOutUserCommand

Gets the command to sign out a user.

Declaration
public DelegateCommand<User> SignOutUserCommand { get; }
Property Value
Type Description
DelegateCommand<User>
View Source

StorePasswordWhenSerializableUserIsSignedIn

Gets or sets a value indicating whether or not the password should be stored when a user is added and signed in Note: Currently this option is ignored by the platform and the password is always stored. Because of this, the option is not shown on the UI and it will always be true when SignInSerializableUserWhenAddedToDevice is true.

Declaration
public bool? StorePasswordWhenSerializableUserIsSignedIn { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
View Source

UpdatePasswordForSerializableUserCommand

Gets the command to update the password for a user.

Declaration
public AsyncDelegateCommand<IEnumerable<object>> UpdatePasswordForSerializableUserCommand { get; }
Property Value
Type Description
AsyncDelegateCommand<System.Collections.Generic.IEnumerable<System.Object>>
View Source

UpdateSandboxIdForSerializableUserCommand

Gets the command to update the sandbox id for a user.

Declaration
public AsyncDelegateCommand<IEnumerable<object>> UpdateSandboxIdForSerializableUserCommand { get; }
Property Value
Type Description
AsyncDelegateCommand<System.Collections.Generic.IEnumerable<System.Object>>
View Source

UserModuleStatusManager

Gets the status manager for this module.

Declaration
public StatusManager UserModuleStatusManager { get; }
Property Value
Type Description
StatusManager
View Source

Users

Gets the currently selected device.

Declaration
public ObservableCollection<User> Users { get; }
Property Value
Type Description
System.Collections.ObjectModel.ObservableCollection<User>

Methods

View Source

Initialize()

Initializes phoenix managed resources when all modules are loaded.

Declaration
protected override void Initialize()
Overrides
Phoenix.Views.ViewModelBase<Phoenix.Users.UserManagementView>.Initialize()
View Source

OnViewChanged(Object, DependencyPropertyChangedEventArgs)

Called when the tab view's visibility changes.

Declaration
protected override void OnViewChanged(object sender, DependencyPropertyChangedEventArgs e)
Parameters
Type Name Description
System.Object sender

The tab being updated.

System.Windows.DependencyPropertyChangedEventArgs e

The tab's status (whether or not it is visible).

Overrides
Phoenix.Views.TabItemViewModel<Phoenix.Users.UserManagementView>.OnViewChanged(System.Object, System.Windows.DependencyPropertyChangedEventArgs)
View Source

Uninitialize()

Uninitializes phoenix managed resources when closed.

Declaration
protected override void Uninitialize()
Overrides
Phoenix.Views.ViewModelBase<Phoenix.Users.UserManagementView>.Uninitialize()

Implements

IViewInitialize
IUserManagementViewProvider
IViewProvider
IClosingNotification
  • View Source
In This Article
Back to top Generated by DocFX