ClientStation.SetBlockedUserAsync Method

Block or unblock runtime user.
<ID("SetBlockedUserAsync", (int)e.SetBlockedUserAsync)> _ 
<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)> _ 
Public Function SetBlockedUserAsync( _ 
ByVal username As String, _ 
ByVal flag As Boolean
) As Task(Of Boolean)
This language is not supported or no code example is available.
[ID("SetBlockedUserAsync", (int)e.SetBlockedUserAsync)] 
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)] 
public Task<bool> SetBlockedUserAsync( 
string username
bool flag 
)
This language is not supported or no code example is available.

Parameters

username
string

User name

flag
bool

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

Return Value

Task<bool>

Flag indicating success (true) or fail (false)

.NET Framework

Supported in: 4.6.2, 4.7

In this article

Definition