LockScope Property

The scope of the current resource lock.

Syntax

ANSI (Cross Platform)
char* GetLockScope();
int SetLockScope(const char* lpszLockScope); Unicode (Windows) LPWSTR GetLockScope();
INT SetLockScope(LPCWSTR lpszLockScope);
@property (nonatomic,readwrite,assign,getter=lockScope,setter=setLockScope:) NSString* lockScope;
- (NSString*)lockScope;
- (void)setLockScope:(NSString*)newLockScope;
#define PID_CALDAV_LOCKSCOPE 54

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 scope of the current resource lock.

Before the calendar resource can be locked, the Lock LockScope may be set to the type of scope needed for the lock. Currently the class will only allow two types of scopes to be requested:

"exclusive"The lock belongs exclusively to the requesting principle. No other principle may modify the locked resource URI.
"shared"The locked resource may not be modified by non-trusted principles. Users who have access rights, however, may request a shared lock which they can then use to modify or operate on the resource.

If no scope is specified, the protocol default scope, "exclusive", will be requested. After a successful LockCalendar operation, the class will set the LockScope 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]