IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

LinkAccessLevel Property

The access level for the link.

Syntax

ANSI (Cross Platform)
int GetLinkAccessLevel(int iLinkIndex);
int SetLinkAccessLevel(int iLinkIndex, int iLinkAccessLevel); Unicode (Windows) INT GetLinkAccessLevel(INT iLinkIndex);
INT SetLinkAccessLevel(INT iLinkIndex, INT iLinkAccessLevel);

Possible Values

SFLAL_ANONYMOUS(0), 
SFLAL_USER_INFO(1),
SFLAL_EMPLOYEES_AND_CLIENTS(2),
SFLAL_EMPLOYEES_ONLY(3)
- (int)linkAccessLevel:(int)linkIndex;
- (void)setLinkAccessLevel:(int)linkIndex:(int)newLinkAccessLevel;

Possible Values

SFLAL_ANONYMOUS(0), 
SFLAL_USER_INFO(1),
SFLAL_EMPLOYEES_AND_CLIENTS(2),
SFLAL_EMPLOYEES_ONLY(3)
#define PID_SHAREFILE_LINKACCESSLEVEL 47

IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

The access level for the link.

This property reflects the link's access level. Possible values are:

  • 0 (sflalAnonymous)
  • 1 (sflalUserInfo)*
  • 2 (sflalEmployeesAndClients)
  • 3 (sflalEmployeesOnly)
*Requires a user to provide a first name, last name, email, and company. To modify this property see UpdateLink.

The LinkIndex parameter specifies the index of the item in the array. The size of the array is controlled by the LinkCount property.

This property is not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 C++ Edition - Version 20.0 [Build 8265]