wclWiFiProfilesManagerSetProfileEapUserData Method |
The function sets the Extensible Authentication Protocol (EAP)
user credentials as specified by raw EAP data.
Namespace: wclWiFiAssembly: wclWiFiFramework (in wclWiFiFramework.dll) Version: 7.13.1.0 (7.13.1.0)
Syntaxpublic int SetProfileEapUserData(
Guid IfaceId,
string ProfileName,
bool AllUsers,
wclWiFiEapMethodType EapMethod,
byte[] Data
)
Public Function SetProfileEapUserData (
IfaceId As Guid,
ProfileName As String,
AllUsers As Boolean,
EapMethod As wclWiFiEapMethodType,
Data As Byte()
) As Integer
public:
int SetProfileEapUserData(
Guid IfaceId,
String^ ProfileName,
bool AllUsers,
wclWiFiEapMethodType EapMethod,
array<unsigned char>^ Data
)
Parameters
- IfaceId Guid
- The ID of the interface.
- ProfileName String
The name of the profile associated
with the EAP user data. Profile names are case-sensitive.
Windows XP with SP3 and Wireless LAN API for Windows XP with
SP2: The supplied name must match the profile name derived
automatically from the SSID of the network. For an infrastructure
network profile, the SSID must be supplied for the profile name.
For an ad hoc network profile, the supplied name must be the SSID of
the ad hoc network followed by -adhoc.
- AllUsers Boolean
- If this parameter is True on Windows 7,
Windows Server 2008 R2, and later, the EAP host data will be set for
all users of this profile.
- EapMethod wclWiFiEapMethodType
- An wclWiFiEapMethodType
structure that contains the method for which the caller is supplying
EAP user credentials.
- Data Byte
A pointer to the raw EAP data used to set the
user credentials.
On Windows Vista and Windows Server 2008, this parameter must
not be nil.
On Windows 7, Windows Server 2008 R2, and later, this parameter
can be set to null to delete the stored credentials for this
profile if the AllUsers parameter contains set to
true.
Return Value
Int32 If the function succeeds, the return value is
WCL_E_SUCCESS. If the function fails, the return value
may be one of the WCL return codes.
See Also