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[RBACAllowAttribute]
[OperationContractAttribute]
WsResult NotifyLogin(
string contextCode
)
<RBACAllowAttribute>
<OperationContractAttribute>
Function NotifyLogin (
contextCode As String
) As WsResult
[RBACAllowAttribute]
[OperationContractAttribute]
WsResult^ NotifyLogin(
String^ contextCode
)
[<RBACAllowAttribute>]
[<OperationContractAttribute>]
abstract NotifyLogin :
contextCode : string -> WsResult
function NotifyLogin(
contextCode : String
) : WsResult
Parameters
- contextCode
- Type: SystemString
The URL referral where the request is coming from - not used for now
Return Value
Type:
WsResultReturns only a boolean indicating success or failure
Examplespublic 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