ClientStation.SetDeletedUserAsync Method

Set flag Deleted of runtime user. This method does not remove user in runtime database.
[ID("SetDeletedUserAsync", (int)e.SetDeletedUserAsync)] 
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)] 
public Task<bool> SetDeletedUserAsync( 
   string username
   bool flag 
)

Parameters

username
string

User name

flag
bool

Flag indicating for deleting (true) or not (false)

Return Value

Task<bool>

Flag indicating success (true) or fail (false)

.NET Framework

Supported in: 4.8

In this article

Definition