Class ObjectSharingInformation

Hierarchy

Index

Methods

Methods

public customFromJson(initValue: any): boolean

Parameters

  • initValue: any

Returns

boolean

public fromJson(initValue: any)

Parameters

  • initValue: any

public static getListItemSharingInformation(context: ClientRuntimeContext, listID: Guid, itemID: number, excludeCurrentUser: boolean, excludeSiteAdmin: boolean, excludeSecurityGroups: boolean, retrieveAnonymousLinks: boolean, retrieveUserInfoDetails: boolean, checkForAccessRequests: boolean): ObjectSharingInformation

Parameters

  • context: ClientRuntimeContext
  • listID: Guid
  • itemID: number
  • excludeCurrentUser: boolean
  • excludeSiteAdmin: boolean
  • excludeSecurityGroups: boolean
  • retrieveAnonymousLinks: boolean
  • retrieveUserInfoDetails: boolean
  • checkForAccessRequests: boolean

Returns

ObjectSharingInformation

public static getObjectSharingInformation(context: ClientRuntimeContext, securableObject: SecurableObject, excludeCurrentUser: boolean, excludeSiteAdmin: boolean, excludeSecurityGroups: boolean, retrieveAnonymousLinks: boolean, retrieveUserInfoDetails: boolean, checkForAccessRequests: boolean, retrievePermissionLevels: boolean): ObjectSharingInformation

Parameters

  • context: ClientRuntimeContext
  • securableObject: SecurableObject
  • excludeCurrentUser: boolean
  • excludeSiteAdmin: boolean
  • excludeSecurityGroups: boolean
  • retrieveAnonymousLinks: boolean
  • retrieveUserInfoDetails: boolean
  • checkForAccessRequests: boolean
  • retrievePermissionLevels: boolean

Returns

ObjectSharingInformation

public getSharedWithUsers(): ClientObjectList

Returns

ClientObjectList

public static getWebSharingInformation(context: ClientRuntimeContext, excludeCurrentUser: boolean, excludeSiteAdmin: boolean, excludeSecurityGroups: boolean, retrieveAnonymousLinks: boolean, retrieveUserInfoDetails: boolean, checkForAccessRequests: boolean): ObjectSharingInformation

Parameters

  • context: ClientRuntimeContext
  • excludeCurrentUser: boolean
  • excludeSiteAdmin: boolean
  • excludeSecurityGroups: boolean
  • retrieveAnonymousLinks: boolean
  • retrieveUserInfoDetails: boolean
  • checkForAccessRequests: boolean

Returns

ObjectSharingInformation

public get_anonymousEditLink(): string

Returns

string

public get_anonymousViewLink(): string

Returns

string

public get_canManagePermissions(): boolean

Returns

boolean

public get_context(): ClientRuntimeContext

Returns

ClientRuntimeContext

public get_hasPendingAccessRequests(): boolean

Returns

boolean

public get_hasPermissionLevels(): boolean

Returns

boolean

public get_isSharedWithCurrentUser(): boolean

Returns

boolean

public get_isSharedWithGuest(): boolean

Returns

boolean

public get_isSharedWithMany(): boolean

Returns

boolean

public get_isSharedWithSecurityGroup(): boolean

Returns

boolean

public get_objectVersion(): string

Returns

string

public get_path(): ObjectPath

Returns

ObjectPath

public get_pendingAccessRequestsLink(): string

Returns

string

public get_serverObjectIsNull(): boolean

Returns

boolean

public get_typedObject(): ClientObject

Returns

ClientObject

public isObjectPropertyInstantiated(propertyName: string): boolean

Parameters

  • propertyName: string

Returns

boolean

public isPropertyAvailable(propertyName: string): boolean

Parameters

  • propertyName: string

Returns

boolean

public refreshLoad()

public retrieve()

public retrieve(propertyNames: Array<string>)

Parameters

  • propertyNames: Array<string>

public set_objectVersion(value: string)

Parameters

  • value: string