ModuleSecurity.SetBlockedUser Method

Block or unblock runtime user.
Public Function SetBlockedUser( _ 
ByVal username As String, _ 
ByVal flag As Boolean
) As Task(Of Boolean)
This language is not supported or no code example is available.
public Task<bool> SetBlockedUser( 
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