Share via


WHSWorker::allowUserToChangePassword Method

Checks if user is allowed to reset password for warehouse users connected to a specific worker.

Syntax

server public static boolean allowUserToChangePassword(WHSWorkerRecId _currentWorkerId, WHSWorkerRecId _workerRecId)

Run On

Server

Parameters

Return Value

Type: boolean
true if user is one of the admin or warehouse manager roles or if the current worker is the worker for which user wants to change password; false for the rest of the cases.

See Also

Reference

WHSWorker Table