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