In file ../../include/war170api.h:

WARAPI_RESULT Warapi_SetPath(WAR_OUT WARAPI_SESSION_HANDLE SessionHandle, WAR_OUT WARAPI_USER_HANDLE UserHandle, const WAR_OUT WARAPI_CCSTR_T VirtualPath, const WAR_OUT WARAPI_CCSTR_T PhysPath, const WAR_OUT WARAPI_FLAGS Flags, WAR_IN int *ErrorValue)

Define or re-define a path for a user

Documentation

Define or re-define a path for a user.

A path on the user-level overrides a similar path on a "lower" level.

Returns:
WARAPI_CALL_OK if the function succeeded.
Parameters:
SessionHandle - Previously initialized session handle
UserHandle - A previously initialized user handle
VirtualPath - The name/alias of the path. Typically "/pub". Uses slash and not backslash.. If no virtual path is defined, this can be NULL or an empty string.
PhysPath - The physical path. The path must exist on the local machine. UNC paths are allowed, but will only work when the server runs in non-servive mode. Example: "C:
files
documents
ftp
pub"
. Note that this argument use backslash.
Flags - The permissions to set. The flags below can be ored together. See
WARAPI_PERM_READ and other WARAPI_PERM_ flags.
ErrorValue - A error value to indicate why the operation failed. This value will be WARAPI_ERR_OK if the function succeeded.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.