|
MessengerYouLike.IMSDK.IMServer
|
|
Administrators can unblock any user.
public Boolean AdminUnBlockUser(String Username);
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