linkAccessLevel (property)
The access level for the link.
Syntax
- (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)
public func linkAccessLevel(linkIndex: Int32) throws -> SharefileLinkAccessLevels
public func setLinkAccessLevel(linkIndex: Int32, newLinkAccessLevel: SharefileLinkAccessLevels) throws -> Void
public enum SharefileLinkAccessLevels : Int32 {
case sflalAnonymous = 0
case sflalUserInfo = 1
case sflalEmployeesAndClients = 2
case sflalEmployeesOnly = 3
}
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.