CanCreatePasswordProtectedLinksUseCase

class CanCreatePasswordProtectedLinksUseCase(serverConfigRepository: ServerConfigRepository, selfUserId: <Error class: unknown class>)

Use case to check if the current user can create password protected invite links. This is only possible if the server api version is greater or equal to 4.

Constructors

Link copied to clipboard
internal constructor(serverConfigRepository: ServerConfigRepository, selfUserId: <Error class: unknown class>)

Functions

Link copied to clipboard
suspend operator fun invoke(): Boolean