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(
	EntityCollection<NewsCategoryInRoleEntity> newsCategoryInRoles,
	string userName
)
Visual Basic
Function UserHasEditPermissions ( 
	newsCategoryInRoles As EntityCollection(Of NewsCategoryInRoleEntity),
	userName As String
) As Boolean
Visual C++
bool UserHasEditPermissions(
	EntityCollection<NewsCategoryInRoleEntity^>^ newsCategoryInRoles, 
	String^ userName
)
F#
abstract UserHasEditPermissions : 
        newsCategoryInRoles : EntityCollection<NewsCategoryInRoleEntity> * 
        userName : string -> bool 

Parameters

newsCategoryInRoles
Type: EntityCollection<(Of <(<'NewsCategoryInRoleEntity>)>)>
News category roles
userName
Type: System..::..String
User name

Return Value

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

See Also