Click or drag to resize

PermissionPermissionCheck Method (String, String, CRUD, ListPermissionSimple)

Check Permission CRUD and Session Token

Namespace:  SOWIApp.Management
Assembly:  SOWIApp.Management (in SOWIApp.Management.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public static bool PermissionCheck(
	string pToken,
	string pModuleName,
	CRUD pClaim,
	List<PermissionSimple> pPermissions = null
)

Parameters

pToken
Type: SystemString
User session token
pModuleName
Type: SystemString
Module name check Permission
pClaim
Type: SOWIData.ManagementCRUD
Use Permission
pPermissions (Optional)
Type: System.Collections.GenericListPermissionSimple
list based SOWIData.Management.PermissionSimple

Return Value

Type: Boolean
true -> yes User has permission; false -> no user hasn't permission
See Also