LockOwner Property

The principle that owns the current resource lock.

Syntax

ANSI (Cross Platform)
char* GetLockOwner();
int SetLockOwner(const char* lpszLockOwner); Unicode (Windows) LPWSTR GetLockOwner();
INT SetLockOwner(LPCWSTR lpszLockOwner);
@property (nonatomic,readwrite,assign,getter=lockOwner,setter=setLockOwner:) NSString* lockOwner;
- (NSString*)lockOwner;
- (void)setLockOwner:(NSString*)newLockOwner;
#define PID_CALDAV_LOCKOWNER 53

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_CalDAV_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_CalDAV_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

The principle that owns the current resource lock.

Before the calendar resource can be locked, the Lock LockOwner may be set to the name of a principle or group of principles that will own the lock. If no owner is specified, the server will automatically associate the lock with the requesting principle. After a successful LockCalendar operation, the class will set the LockOwner property to the correct value returned in the server's response.

Data Type

String

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