VideoOS.Platform.ConfigurationItems.User Class Reference

More...

Inheritance diagram for VideoOS.Platform.ConfigurationItems.User:
VideoOS.Platform.ConfigurationItems.IConfigurationItem VideoOS.Platform.ConfigurationItems.IConfigurationChildItem

Public Member Functions

 User (FQID fqid)
 Construct the class from a MIP FQID - note that not all configuration items have a corresponding FQID.
 
 User (ServerId serverId, ConfigurationItem user)
 Construct the class from serverId of the Management Server that owns the configuration, and the already returned ConfigurationItem.
 
 User (ServerId serverId, string path)
 Construct the class from serverId of the Management Server that owns the configuration, and the path of the item.
 
- Public Member Functions inherited from VideoOS.Platform.ConfigurationItems.IConfigurationItem
void ClearChildrenCache ()
 Clear the internal cache of children. Can be used to force a new set of children to be fetched from the server at next access.
 
ServerTask ExecuteMethod (string methodId)
 Execute the provided method. The method id must be one of the defined values in the Methods property.
 
void FillChildren (string[] itemTypes)
 Fill all children and grand-children - as long as the itemtype is contained in itemType parameter.
 
void FillChildren (string[] itemTypes, ItemFilter[] itemFilters)
 Fill all children and grand-children - as long as the itemtype is contained in itemType parameter and filters match. If multiple filters are defined for same itemtype, all must match for the item to be included ('and' operation).
If no filter is defined for an ItemType, then all items of that type is filled.
 
void Save ()
 Will save all updated values to server.
 
ValidateResult ValidateItem ()
 Validate the current content.
 
- Public Member Functions inherited from VideoOS.Platform.ConfigurationItems.IConfigurationChildItem
string GetProperty (string key)
 Return a property value as string, if key is not found the return value will be null.
 
ICollection< string > GetPropertyKeys ()
 Get a collection of all available property keys.
 
List< ValueTypeInfoGetValueTypeInfoList (string propertyKey)
 Get defined ValueTypeInfo for a given property. If no ValueTypeInfo is available, an empty list is returned.
 
void SetProperty (string key, string content)
 Sets the value of a property (all is string format here)
 
override string ToString ()
 Display the 'DisplayName' is the default ToString()
 

Properties

string AccountName [get]
 Account name.
 
override string DisplayName [get]
 Role display name.
 
string Domain [get]
 Domain.
 
String IdentityType [get]
 User type. Valid values are available in the IdentityTypeValues property dictionary.
 
Dictionary< string, string > IdentityTypeValues [get]
 A list of valid names/values for the IdentityType property.
 
string MemberOf [get]
 Member of groups. Only filled when getting specific user, call the GetItem(item.Path) to fill the property.
 
string MemberOfRoles [get]
 Member of roles. Only filled when getting specific user, call the GetItem(item.Path) to fill the property.
 
string Members [get]
 Members. Only filled when getting specific user, call the GetItem(item.Path) to fill the property.
 
string Sid [get]
 SID.
 
- Properties inherited from VideoOS.Platform.ConfigurationItems.IConfigurationItem
Guid Guid [get]
 Returns the id property or part of the path, when available. When no id is available this will be Guid.Empty. This is relevant for some items of ItemCategory.ChildItem where no property with key = "Id" exists and path does not contains a guid.
 
Collection< string > Methods [get]
 The available methods for this class.
 
- Properties inherited from VideoOS.Platform.ConfigurationItems.IConfigurationChildItem
string Description [get, set]
 Description.
 
virtual string DisplayName [get]
 Name of this ConfigurationItem in user readable format. Usually the same as property with key = "Name".
 
string ItemCategory [get]
 Return the item category for this item. This can be used to understand how multiple items are fetched and saved together. Only ItemCategory == 'Item' can be saved.
 
string Name [get, set]
 Name.
 
string ParentItemPath [get]
 Get hold of the next real parent path, e.g. skip any 'Folder' type parent.
 
string ParentPath [get]
 The path for the parent of this ConfigurationItem.
 
string Path [get]
 The identification of this item.

 
ServerId ServerId [get, set]
 Contains the ServerId of the Management Server holding this item.
 

Detailed Description

Constructor & Destructor Documentation

◆ User() [1/3]

VideoOS.Platform.ConfigurationItems.User.User ( ServerId serverId,
ConfigurationItem user )
inline

Construct the class from serverId of the Management Server that owns the configuration, and the already returned ConfigurationItem.

Parameters
serverIdIdentify the Management Server that owns the configuration
userThe ConfigurationItem returned from elsewhere
Exceptions
ArgumentMIPExceptionWhen LoginSettings not found for serverId

◆ User() [2/3]

VideoOS.Platform.ConfigurationItems.User.User ( ServerId serverId,
string path )
inline

Construct the class from serverId of the Management Server that owns the configuration, and the path of the item.

This construction will contact the server and read the specified item.

Parameters
serverIdIdentify the Management Server that owns the configuration
pathThe path of a specific item
Exceptions
MIPExceptionRepresents a number of possible exceptions. Possible exceptions can be found via the inherited exceptions - like PathNotFoundMIPException

◆ User() [3/3]

VideoOS.Platform.ConfigurationItems.User.User ( FQID fqid)
inline

Construct the class from a MIP FQID - note that not all configuration items have a corresponding FQID.

This construction will contact the server and read the specified item.

Parameters
fqidIdentify the MIP item
Exceptions
MIPExceptionRepresents a number of possible exceptions. Possible exceptions can be found via the inherited exceptions - like PathNotFoundMIPException

Property Documentation

◆ AccountName

string VideoOS.Platform.ConfigurationItems.User.AccountName
get

Account name.

◆ DisplayName

override string VideoOS.Platform.ConfigurationItems.User.DisplayName
get

Role display name.

◆ Domain

string VideoOS.Platform.ConfigurationItems.User.Domain
get

Domain.

◆ IdentityType

String VideoOS.Platform.ConfigurationItems.User.IdentityType
get

User type. Valid values are available in the IdentityTypeValues property dictionary.

◆ IdentityTypeValues

Dictionary<string, string> VideoOS.Platform.ConfigurationItems.User.IdentityTypeValues
get

A list of valid names/values for the IdentityType property.

◆ MemberOf

string VideoOS.Platform.ConfigurationItems.User.MemberOf
get

Member of groups. Only filled when getting specific user, call the GetItem(item.Path) to fill the property.

◆ MemberOfRoles

string VideoOS.Platform.ConfigurationItems.User.MemberOfRoles
get

Member of roles. Only filled when getting specific user, call the GetItem(item.Path) to fill the property.

◆ Members

string VideoOS.Platform.ConfigurationItems.User.Members
get

Members. Only filled when getting specific user, call the GetItem(item.Path) to fill the property.

◆ Sid

string VideoOS.Platform.ConfigurationItems.User.Sid
get

SID.