You are here: MessengerYouLike.IMSDK > IMSDK Reference > IMSDK Namespace > Classes > IMClient Class > IMClient Enumerations > IMSDK.IMClient.AuthorizationStatus Enumeration
MessengerYouLike
IMSDK.IMClient.AuthorizationStatus Enumeration
C#
public enum AuthorizationStatus {
  Unauthorized,
  FriendRemovedThisContact,
  Authorized,
  AuthorizationDenied
}
Visual Basic
Public Enum AuthorizationStatus
  Unauthorized,
  FriendRemovedThisContact,
  Authorized,
  AuthorizationDenied
End Enum

 

When Friends are added to the contact list they Must be authorized this enumerator Shows the status of each Authorization status of Contact 

 

Following are the members of this enumerator 

 

Member 
Description 
AuthorizationDenied 
Contact Add request Denied Results in this Status 
Authorized 
When User is added and is Authorized by Contact also 
FriendRemovedThisContact 
When Contact is deleted from Friends List 
Unauthorized 
When Contact is added but Contact is not online to Authorized the request so the authorization status remains Unauthorized until the contact logs in and authorizes the request 

 

When a Friend "A" is deleted from a Friend "B" Contact List then in the Friend "A" Contact list the Status of Friend "B" is set to FriendRemovedThisContact 

 

In order both of the users to communicate with each other they need to have there status set to Authorized 

Contacts with status FriendRemovedThisContact cannot send any messages to the each other

Copyright (c) 2007. All rights reserved.