{
    "content": [
        {
            "type": "text",
            "text": "# rpc_gss_getcred (man)\n\n## NAME\n\nrpcgssgetcred — Get authorization information for an RPC request\n\n## SYNOPSIS\n\n#include <rpc/rpcsecgss.h>\nAUTH *\nrpcgssgetcred(struct svcreq *req, rpcgssrawcredt rcred, rpcgssucredt ucred,\nvoid cookie);\n\n## DESCRIPTION\n\nThis function returns the RPCSECGSS authenticated credentials associated with an RPC request.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **PARAMETERS**\n- **RETURN VALUES**\n- **AVAILABILITY**\n- **SEE ALSO**\n- **AUTHORS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "rpc_gss_getcred",
        "section": "",
        "mode": "man",
        "summary": "rpcgssgetcred — Get authorization information for an RPC request",
        "synopsis": "#include <rpc/rpcsecgss.h>\nAUTH *\nrpcgssgetcred(struct svcreq *req, rpcgssrawcredt rcred, rpcgssucredt ucred,\nvoid cookie);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "rpc",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/rpc/3/json"
            },
            {
                "name": "gssapi",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/gssapi/3/json"
            },
            {
                "name": "rpcgsssetcallback",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/rpcgsssetcallback/3/json"
            },
            {
                "name": "rpcsecgss",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/rpcsecgss/3/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "PARAMETERS",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "RETURN VALUES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AVAILABILITY",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "rpcgssgetcred — Get authorization information for an RPC request\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "#include <rpc/rpcsecgss.h>\n\nAUTH *\nrpcgssgetcred(struct svcreq *req, rpcgssrawcredt rcred, rpcgssucredt ucred,\nvoid cookie);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This function returns the RPCSECGSS authenticated credentials associated with an RPC request.\n",
                "subsections": []
            },
            "PARAMETERS": {
                "content": "req       The RPC request to query\n\nrcred     If non-null, *rcred is set to point at the raw credentials for this request\n\nucred     If non-null, *ucred is set to point at the corresponding unix credentials\n\ncookie    If non-null, *cookie is set to the cookie value returned by a callback function reg‐\nistered with rpcgsssetcallback()\n",
                "subsections": []
            },
            "RETURN VALUES": {
                "content": "Returns TRUE if successful, FALSE otherwise.\n",
                "subsections": []
            },
            "AVAILABILITY": {
                "content": "The rpcgssgetcred() function is part of libtirpc.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "rpc(3), gssapi(3), rpcgsssetcallback(3), rpcsecgss(3)\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "This manual page was written by Doug Rabson <dfr@FreeBSD.org>.\n\nBSD                            January 26, 2010                            BSD",
                "subsections": []
            }
        }
    }
}