Documentation
Set the login permission for a user
- Returns:
- WARAPI_CALL_OK if the function succeeded.
- Parameters:
- SessionHandle - Previously initialized session handle
UserHandle - A previously initialized user handle
Type - Type of permission to set. One of:
- WARAPI_LOGIN_TYPE_FTPUSER Access to the FTP server as a normal user
- WARAPI_LOGIN_TYPE_ADMIN Access to the remote access interface
Permission - Permission to set. One of:
- WARAPI_LOGIN_PERM_DENY Dey access. Overrides inherited permissions.
- WARAPI_LOGIN_PERM_ALLOW Allow access. Overrides inherited permissions.
- WARAPI_LOGIN_PERM_DEFAULT Use the default. This is recommended,
as one can enable or disable access for all users in a group by setting
the groups permission.
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