UserActivate()


Activate a suspended User.

Public Function UserActivate(ByVal SessionID As String, _
                             
ByVal UserID As Integer) _
                            
As Boolean

Parameters

SessionID
String - GUID
The current session's GUID in string format. This is a 32-character hexidecimal string in the format:
00000000-0000-0000-0000-000000000000. This is the value returned by the Login() function.
UserID
Integer
A numeric value used to represent a specific user on the system.

Returns

Boolean 
True if successful, false on failure.

Remarks

Once a User has been Suspended, it can be reactivated through this method. Terminated Users may not be reactivated.

Example

Visual Basic
[insert code sample]

EventID: 1009

See Also

UserSuspend()
UserTerminate()


© 2008-2011, Loren Data Corp.
All rights reserved.
ECGrid is a registered service mark of Loren Data Corp.
ECGridOS is a service mark of Loren Data Corp.