Check if user has edit permissions for the specified category.

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

Syntax

C#
bool UserHasEditPermissions(
	NewsCategoryEntity category,
	string userName
)
Visual Basic
Function UserHasEditPermissions ( 
	category As NewsCategoryEntity,
	userName As String
) As Boolean
Visual C++
bool UserHasEditPermissions(
	NewsCategoryEntity^ category, 
	String^ userName
)
F#
abstract UserHasEditPermissions : 
        category : NewsCategoryEntity * 
        userName : string -> bool 

Parameters

category
Type: NewsCategoryEntity
Category
userName
Type: System..::..String
User name

Return Value

Type: Boolean
True if user has permissions, False if not

See Also