IAFS_BindContext::OnGetUserAccount Method
From PDF XChange PDF SDK
Line 18: | Line 18: | ||
== Parameters == | == Parameters == | ||
;pName | ;pName | ||
− | :[in] Filename, access to which should be granted using returned user account attributes. | + | :[in] Filename, access to which should be granted using returned user account attributes. Pass null to get attributes for general access to file system. |
;pTitle | ;pTitle | ||
:[in] Value of LPWSTR. | :[in] Value of LPWSTR. |
Revision as of 23:25, 25 May 2015
Retrieves user account attributes.
Syntax
HRESULT OnGetUserAccount([in] IAFS_Name* pName, [in] LPWSTR pTitle, [in] LPWSTR pText, [out] BSTR* ppUserName, [out] BSTR* ppPassword, [in, defaultvalue(NULL)] IUnknown* pIcon, [in, defaultvalue(0)] LONG nFlags);
Parameters
- pName
- [in] Filename, access to which should be granted using returned user account attributes. Pass null to get attributes for general access to file system.
- pTitle
- [in] Value of LPWSTR.
- pText
- [in] Value of LPWSTR.
- ppUserName
- [out] Pointer to BSTR.
- ppPassword
- [out] Pointer to BSTR.
- pIcon
- [in, optional] Pointer to IUnknown*.
- nFlags
- [in, defaultvalue(0)] Value of LONG.
Return Value
Returns S_OK if operation was successful or error code in other cases.