Set flag Deleted of runtime user. This method does not remove user in runtime database.

Namespace: T.Modules.Security
Assembly: T.Modules (in T.Modules.dll)

Public Function SetDeletedUser( _ 
ByVal username As String, _ 
ByVal flag As Boolean
) As Boolean
This language is not supported or no code example is available.
public bool SetDeletedUser( 
string username
bool flag 
)
This language is not supported or no code example is available.

Parameters

username
Type: string

User name

flag
Type: bool

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

Return Value

Type: bool

Flag indicating success (true) or fail (false)

.NET Framework

Supported in: 4.6.2, 4.7