userContextPolicy

@JvmName(name = "xkiftcmafxdfhols")
suspend fun userContextPolicy(value: Output<IndexUserContextPolicy>)
@JvmName(name = "fniuegvwvfsrcjqq")
suspend fun userContextPolicy(value: IndexUserContextPolicy?)

Parameters

value

The user context policy. ATTRIBUTE_FILTER

  • All indexed content is searchable and displayable for all users. If you want to filter search results on user context, you can use the attribute filters of _user_id and _group_ids or you can provide user and group information in UserContext . USER_TOKEN

  • Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable.