Click or drag to resize

PFUsersManagementHubUpdateUserAccesses Method

Updates a user's accesses.

Namespace:  Packflow.Interface
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
public string UpdateUserAccesses(
	long userId,
	bool enabled,
	PFUserSiteAccess siteAccess,
	bool availableInFields,
	bool availableInOrganisation,
	bool availableInRoles
)

Parameters

userId
Type: SystemInt64
The PFUser id.
enabled
Type: SystemBoolean
Sets user as enabled.
siteAccess
Type: Packflow.CorePFUserSiteAccess
Determines the kind of access for the user.
availableInFields
Type: SystemBoolean
Specifies if the user is available in user fields.
availableInOrganisation
Type: SystemBoolean
Specifies if the user is available for organisation groups.
availableInRoles
Type: SystemBoolean
Specifies if the user is available for role groups.

Return Value

Type: String
Success or error message.
Exceptions
ExceptionCondition
ValidationExceptionUser not found
See Also