![]() |
![]() |
e-docs > Tuxedo > ATMI C Function Reference > Section 3c - C Functions |
ATMI C Function Reference
|
Name
tpgetadmkey()—Gets administrative authentication key.
Synopsis
#include <atmi.h>
long tpgetadmkey(TPINIT *tpinfo)
Description
tpgetadmkey() is available for application use by an application specific authentication server. It returns an application security key suitable for assignment to the indicated user for the purpose of administrative authentication. This routine must be called with a client name (that is, tpinfo
In a multithreaded application, a thread in the TPINVALIDCONTEXT state is not allowed to issue a call to tpgetadmkey().
Return Values
Upon success, tpgetadmkey() returns a non-0 value with the high-order bit (0x80000000) set; otherwise it returns 0. Zero may be returned if tpinfo is NULL, tpinfo
Errors
A zero return value is the only indication that a valid administrative key was not assigned.
Portability
This interface is available only on UNIX system sites running BEA Tuxedo release 5.0 or later.
See Also
tpaddusr(1), tpusradd(1), tpinit(3c), AUTHSVR(5)
Setting Up a BEA Tuxedo Application
Administering a BEA Tuxedo Application at Run Time
![]() |
![]() |
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |