Microsoft Chat Server SDK Reference

IChatUserCallBack::OnRemoveAccess

This method is called whenever the user removes a security access entry.

Syntax

C/C++:
HRESULT OnRemoveAccess(
   IChatUser *User,
   IChatAccessEntry *Entry);
Visual Basic:
Sub IChatUserCallBack_OnRemoveAccess( _
   ByVal User As CHATSVCLib.IChatUser, _
   ByRef Entry As CHATSVCLib.IChatAccessEntry)

Parameters

User
Reference to the ChatUser object representing the user whose access is changing.
Entry
Reference to ChatAccessEntry object that is being removed.

Remarks

There is no way to cancel this event. The notification is sent after the access entry has been removed.

OnRemoveAccess notifications occur only when access entries are removed using the IRC/IRCX protocol. Changes made by extensions through the object model do not trigger callbacks.

When this property changes, the OnUserPropertyChanged method is not called. Extensions that are interested in the OnRemoveAccess event should register for this notification explicitly.


© 1998 Microsoft Corporation. All rights reserved.