Click or drag to resize

UnifiedPermissionServiceGetPermission Method

Namespace:  Dynamicweb.Security.Permissions
Assembly:  Dynamicweb.Security (in Dynamicweb.Security.dll) Version: 11.0.2
Syntax
public PermissionLevel GetPermission(
	string userId,
	UnifiedPermissionIdentifier identifier,
	PermissionLevel defaultPermission = PermissionLevel.None
)

Parameters

userId
Type: SystemString
identifier
Type: Dynamicweb.Security.PermissionsUnifiedPermissionIdentifier
defaultPermission (Optional)
Type: Dynamicweb.Security.PermissionsPermissionLevel

Return Value

Type: PermissionLevel
See Also