Click or drag to resize

PermissionPermissionCheck Method (String, String, CRUD, ListPermissionSimple)

Check Permission CRUDs and Session Token. Gives permission (true or false)

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[] pClaims,
	List<PermissionSimple> pPermissions = null
)

Parameters

pToken
Type: SystemString
User session token
pModuleName
Type: SystemString
Module name check Permission
pClaims
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