You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > User Class > User Methods > ActivateUserAccount Method > ActivateUserAccount
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
User.ActivateUserAccount Method (string, string)

Verifies an unverified membership user using the Username and GUID (AccountID) parameter if two phase verification of membership users is enabled. Please see the settings document. IMPORTANT! You cannot use this method to return a deleted user to an active state.. 

This function is overloaded. See Also: ActivateUserAccount(Long) 

This method can be accessed through the User.asmx file located in:

~/Workarea/webservices/WebServiceAPI/User/User.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "ActivateUserAccount By UserName and AccountID", Description = "")]
public bool ActivateUserAccount(string Username, string AccountID);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "ActivateUserAccount By UserName and AccountID", Description = "")>
Public Function ActivateUserAccount(Username As string, AccountID As string) As bool
Parameters 
Description 
Username 
The login name for the user 
AccountID 
The GUID for the user 

Boolean

A user with administrator privileges must be logged in to perform this operation.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!