Click or drag to resize

PFApplicationIsUserContextAdmin Method (PFUser, Int64)

Determines whether the specified user is administrator of a context (any or the specified one) of this application.

This method uses an optimized cache.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public bool IsUserContextAdmin(
	PFUser user,
	long contextId = 0
)

Parameters

user
Type: Packflow.CorePFUser
The verified user.
contextId (Optional)
Type: SystemInt64
Optional. An application context id.

Return Value

Type: Boolean
True if administrator, else False.
See Also