Package com.sun.jna.platform.win32
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.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionPointer to a null-terminated string containing the name of the user represented by the credential.Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.sun.jna.StructureallocateMemory, 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- 
sUserNamePointer 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_Namespublic SecPkgCredentials_Names()
 
- 
- 
Method Details- 
getUserName- Returns:
- value of userName attribute
 
- 
freepublic int free()Free native buffer- Returns:
- WinError.SEC_E_OKif ok
 
 
-