SmartFoxServer Silverlight API
SFSEvent..::.OnBuddyPermissionRequestDelegate Delegate
NamespacesSmartFoxClientAPISFSEventSFSEvent..::.OnBuddyPermissionRequestDelegate
Dispatched when the current user receives a request to be added to the buddy list of another user.
Declaration Syntax
C#Visual BasicVisual C++
public delegate void OnBuddyPermissionRequestDelegate(
	string sender,
	string message
)
Public Delegate Sub OnBuddyPermissionRequestDelegate ( _
	sender As String, _
	message As String _
)
public delegate void OnBuddyPermissionRequestDelegate(
	String^ sender, 
	String^ message
)
Parameters
sender (String)
the name of the user requesting to add the current user to his/her buddy list
message (String)
a message accompaining the permission request. This message can't be sent from the client-side, but it's part of the advanced server-side buddy list features.
Remarks

Since:
SmartFoxServer Pro v1.6.0

Version:
SmartFoxServer Pro

Examples
The following example shows how to handle the request to be added to a buddy list.
CopyC#
SFSEvent.onBuddyPermissionRequest += OnBuddyPermissionRequest;

public void OnBuddyPermissionRequest(string sender, string message)
{
    Debug.WriteLine("Buddy permission request from " + sender + " asking " + message);
}
See Also

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)