Class ResetAccountParameter
The server task parameters for the reset roles/users/admin user calculation process
Inherited Members
Namespace: LemonEdge.API.Core.Tasks.Parameters
Assembly: LemonEdge.API.dll
Syntax
[DataContract]
[ServerTaskParameters("Reset Account Roles/Menu/Admin User", "4CC1DE0F-0984-4DDB-BED5-13BE1330E815")]
public class ResetAccountParameter : ServerTaskParameter, ICloneable, ICloneable<ResetAccountParameter>, INotifyPropertyChanged
Constructors
ResetAccountParameter()
Declaration
public ResetAccountParameter()
Fields
UNIQUE_TASK_ID
The unique id of the reset account roles calculation server task
Declaration
public const string UNIQUE_TASK_ID = "4CC1DE0F-0984-4DDB-BED5-13BE1330E815"
Field Value
Type | Description |
---|---|
string |
Properties
AccountID
The id of the account that the roles should be reset from. When run from the root account, this can reset other accounts in the system.
Declaration
public Guid AccountID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
AccountID_Label
The label of the account that the roles should be reset from. When run from the root account, this can reset other accounts in the system.
Declaration
public string AccountID_Label { get; set; }
Property Value
Type | Description |
---|---|
string |
ResetAdminLogin
Holds the globally unique email login that this reset role process should reset the admin user to
Declaration
public string ResetAdminLogin { get; set; }
Property Value
Type | Description |
---|---|
string |
ResetAdminPassword
Holds the password that this reset role process should reset the admin user password to
Declaration
public string ResetAdminPassword { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Clone()
Creates a new instance of this class (of type ResetAccountParameter) with all the same property values as this instance
Declaration
public ResetAccountParameter Clone()
Returns
Type | Description |
---|---|
ResetAccountParameter | A new instance of this class with all the same property values as this instance |
CopyFromParam(SerializedParam)
Should be overridden by inheriting implementations to ensure all parameters values are copied from the specified
source
Declaration
protected override void CopyFromParam(SerializedParam source)
Parameters
Type | Name | Description |
---|---|---|
SerializedParam | source | The source instance of a SerializedParam that is of the same type as this one to copy parameter values from |
Overrides
Remarks
Used by the generic implementation of Clone()
CopyFromSource(ResetAccountParameter)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(ResetAccountParameter source)
Parameters
Type | Name | Description |
---|---|---|
ResetAccountParameter | source | The source object to copy all values from. |
CreateNewParam()
Must be implemented by inheriting classes to provide a new instance of the current class type.
Used when cloning this SerializedParam to create a new instance of the same type
Declaration
protected override SerializedParam CreateNewParam()
Returns
Type | Description |
---|---|
SerializedParam | A new instance of the current SerializedParam type |
Overrides
GetUserFriendlyTaskInstanceIdentityInfo(IServerTask)
Returns that this is a reset account roles recalculation task against the specified blended transaction
Declaration
public override string GetUserFriendlyTaskInstanceIdentityInfo(IServerTask task)
Parameters
Type | Name | Description |
---|---|---|
IServerTask | task | The server task for processing the reset roles task |
Returns
Type | Description |
---|---|
string | A string stating that this is a reset account roles recalculation task against the specified blended transaction |
Overrides
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
PropertyChangedEventHandler |