Class DocumentSharingManager

Index

Methods

Methods

public static getRoleDefinition(context: ClientRuntimeContext, role: Role): RoleDefinition

Parameters

Returns

RoleDefinition

public static isDocumentSharingEnabled(context: ClientRuntimeContext, list: List): BooleanResult

Parameters

Returns

BooleanResult

public static updateDocumentSharingInfo(context: ClientRuntimeContext, resourceAddress: string, userRoleAssignments: UserRoleAssignment[], validateExistingPermissions: boolean, additiveMode: boolean, sendServerManagedNotification: boolean, customMessage: string, includeAnonymousLinksInNotification: boolean): UserSharingResult[]

Parameters

  • context: ClientRuntimeContext
  • resourceAddress: string
  • userRoleAssignments: UserRoleAssignment[]
  • validateExistingPermissions: boolean
  • additiveMode: boolean
  • sendServerManagedNotification: boolean
  • customMessage: string
  • includeAnonymousLinksInNotification: boolean

Returns

UserSharingResult[]