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 (long)

Verifies an unverified membership user using the UserId 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(String, String) 

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 UserID", Description = "")]
public bool ActivateUserAccount(long UserId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "ActivateUserAccount By UserID", Description = "")>
Public Function ActivateUserAccount(UserId As long) As bool
Parameters 
Description 
UserId 
A unique ID for the required 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!