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_WEBDAV_LOCKOWNER 23

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

Default Value

""

Remarks

Before a call to the LockResource method, 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 LockResource 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 8161]