XtfGetCredentialInfoList
Returns anXtfNetworkCredentials object that contains the list of credentials currently stored on the console.
Syntax
Parameters
addressType: LPCWSTR [in] Address of the console. credentialInfo
Type: XtfNetworkCredentials* [out] An
XtfNetworkCredentials object that contains the list of credentials currently stored on the console.
Return value
Type: HRESULT A return value ofS_OK indicates the function succeeded and that credential information can be retrieved from the credentialInfo object. Any other value indicates an unexpected error occurred.
Remarks
Use XtfAddCredential to add credentials. Use XtfRemoveCredential to remove credentials. Use XtfGetCredentialInfoList, XtfGetCredentialInfoCount, XtfGetCredentialServerName, and XtfGetCredentialUserName to enumerate the current list of stored credentials. Use XtfCloseCredentialInfoList to free theXtfNetworkCredentials returned by XtfGetCredentialInfoList.
XtfGetCredentialInfoList retrieves all of the information from the console. XtfGetCredentialServerName, and XtfGetCredentialUserName simply iterate across that retrieved information.
When you have retrieved the values you needed, use XtfCloseCredentialInfoList to free resources associated with the returned XtfNetworkCredentials object.
Requirements
Header: xtfapi.h Library: XtfApi.lib Supported platforms: Windows (for XBOX console tools)See also
Run from PC Deployment (NDA topic)XTF Transport Errors (NDA topic)
Additional Xtf APIs
