Class Sspi.SecPkgCredentials_Names
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.Sspi.SecPkgCredentials_Names
- Direct Known Subclasses:
Sspi.SecPkgCredentials_Names.ByReference
- Enclosing interface:
Sspi
The SecPkgCredentials_Names structure holds the name of the user
associated with a context.
The
Secur32.QueryCredentialsAttributes(com.sun.jna.platform.win32.Sspi.CredHandle, int, com.sun.jna.Structure)
function uses this structure.
- Author:
- dblock[at]dblock.org
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Structure
Structure.ByValue, Structure.FieldOrder, Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionPointer to a null-terminated string containing the name of the user represented by the credential.Fields inherited from class Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
sUserName
Pointer to a null-terminated string containing the name of the user represented by the credential. If the security package sets the SECPKG_FLAG_ACCEPT_WIN32_NAME flag to indicate that it can process Windows names, this name can be used in other Windows calls.
-
-
Constructor Details
-
SecPkgCredentials_Names
public SecPkgCredentials_Names()
-
-
Method Details
-
getUserName
- Returns:
- value of userName attribute
-
free
-