Skip to content

TransientGrantingPermissionService.HasPermission method

namespace: Serenity.Web   assembly: Serenity.Net.Core

Checks if user has specified permission

public bool HasPermission(string permission)
parameter description
permission Permission to check

Return Value

True if user has the permission

See Also