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
)
Public Shared Function PermissionCheck (
pToken As String,
pModuleName As String,
pClaim As CRUD,
Optional pPermissions As List(Of PermissionSimple) = Nothing
) As Boolean
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:
Booleantrue -> yes User has permission; false -> no user hasn't permission
See Also