Teradata Package for LangChain Function Reference - grant - Teradata® Package for LangChain - Look here for syntax, methods and examples for the functions included in the Teradata langchain-teradata package.
Teradata® Package for LangChain Function Reference
- Deployment
- VantageCloud
- Edition
- Enterprise
- Product
- Teradata® Package for LangChain
- Release Number
- 20.00.00.01
- Published
- December 2025
- ft:locale
- en-US
- ft:lastEdition
- 2025-12-19
- dita:id
- Langchain-Teradata_FxRef_Lake
- Product Category
- Teradata Vantage
- libs.teradata.langchain_teradata.TeradataVectorStore.grant
- DESCRIPTION:
Grant permissions to the user on the vector store.
Notes:
* Only admin users can use this method.
* Refer to the 'Admin Flow' section in the
User guide for details.
PARAMETERS:
None
RETURNS:
None.
RAISES:
TeradataMlException.
EXAMPLES:
# NOTE: It is assumed that vector store "vs" already exits.
# Create an instance of the TeradataVectorStore class.
>>> vs = TeradataVectorStore(name="vs")
# Grant 'admin' permission to the user 'alice' on the vector store 'vs'.
>>> vs.grant.admin('alice')
# Grant 'user' permission to the user 'alice' on the vector store 'vs'.
>>> vs.grant.user('alice')