You are here: MessengerYouLike.IMSDK.IMServer > IMSDK.IMServer Reference > IMSDK Namespace > IMServer Class > IMServer Methods > IMServer.AdminUnBlockUser Method
MessengerYouLike.IMSDK.IMServer
IMServer.AdminUnBlockUser Method

Administrators can unblock any user.

C#
public Boolean AdminUnBlockUser(String Username);
Visual Basic
Public Function AdminUnBlockUser(ByVal Username As String) As Boolean
Parameters 
Description 
ByVal Username As String 
Username of the user that needs to be unblocked 

Returns True if block was successful and false if there was a error

 

Using this function will allows administrator to unblock any user 

Administrator can also block this user by calling the function IMSDK.IMServer.AdminBlockUser

'[Visual Basic]
 
 
Dim IMServer1 as new MessengerYouLike.IMSDK.IMServer
 
If IMServer1.AdminUnBlockUser(TxtUsername.Text) then
Response.Write("User Unlocked")
end if
 
You are here: MessengerYouLike.IMSDK.IMServer > IMSDK.IMServer Reference > IMSDK Namespace > IMServer Class > IMServer Methods > IMServer.AdminUnBlockUser Method
Copyright (c) 2007. All rights reserved.