The SetIscsiGroupPresharedKey method sets the iSCSI group Preshared Key for the Initiator.
Syntax
uint32 SetIscsiGroupPresharedKey(
  [in] uint8   Key[],
  [in] boolean Persist
);
Parameters
- 
Key [in]
 - 
The key to associate with the Initiator.
 - 
Persist [in]
 - 
Indicates if the key will persist.
 
Requirements
| Minimum supported client | 
Windows Vista [desktop apps only] | 
| Minimum supported server | 
Windows Server 2008 [desktop apps only] | 
| Namespace | 
Root\WMI | 
| MOF | 
  | 
See also