Click or drag to resize

IWsCommonNotifyLogin Method

Update the user profile's LoginAfterResetPwd field.

Namespace:  Aruba.Cloud.WsCommon
Assembly:  Aruba.Cloud.WsCommon (in Aruba.Cloud.WsCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[OperationContractAttribute]
WsResult NotifyLogin(
	string contextCode
)

Parameters

contextCode
Type: SystemString
The URL referral where the request is coming from - not used for now

Return Value

Type: WsResult
Returns only a boolean indicating success or failure
Examples
public bool NotifyLogin(string contextCode)
{
using (var client = new WsCommonClient())
{
string myContextCodeURL = "http://www.mysite.com/Login";
WsResult result = client.NotifyLogin(myContextCodeURL);
if (result.Success)
return result.Success;
else
{
throw new CodedException(result.ResultCode, result.ResultMessage);
}
}
}
See Also