Checks if provided user has news access permissions.

Namespace: MonoSoftware.MonoX.Utilities
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public static bool HasNewsAccessPremissions(
	string username,
	bool publisherRequired
)
Visual Basic
Public Shared Function HasNewsAccessPremissions ( 
	username As String,
	publisherRequired As Boolean
) As Boolean
Visual C++
public:
static bool HasNewsAccessPremissions(
	String^ username, 
	bool publisherRequired
)
F#
static member HasNewsAccessPremissions : 
        username : string * 
        publisherRequired : bool -> bool 

Parameters

username
Type: System..::..String
Username
publisherRequired
Type: System..::..Boolean
Is publisher access level required

Return Value

Type: Boolean
True if user has access, false otherwise

See Also