Checks if the user with the specified username is in one of the news editor roles.
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static bool IsNewsEditor(
string username
) |
Visual Basic |
---|
Public Shared Function IsNewsEditor (
username As String
) As Boolean |
Visual C++ |
---|
public:
static bool IsNewsEditor(
String^ username
) |
F# |
---|
static member IsNewsEditor :
username : string -> bool
|
Return Value
Type:
BooleanTrue if the user with the specified username is in one of the news editor roles, false if not.
See Also