Microsoft Chat Server SDK Reference

IChatServerCallBack::OnAddAccess

Notifies the extension that a security entry has been added to the server.

Syntax

C/C++:
HRESULT OnAddAccess(
   IChatServer *Server,
   IChatAccessEntry *Entry,
   VARIANT_BOOL PostUpdate,
   long *Cancel);
Visual Basic:
Function IChatServerCallBack_OnAddAccess( _
   ByVal Server As CHATSVCLib.IChatServer, _
   ByVal Entry As CHATSVCLib.IChatAccessEntry, _
   ByVal PostUpdate As Boolean) As Long

Parameters

Server
Reference to global ChatServer object.
Entry
Reference to ChatAccessEntry object being added.
PostUpdate
False if this is a pre-update notification. True if access entry has been committed to the server.
Cancel
Return value. Set to non-zero during the pre-update notification to cancel the operation.

Remarks

An extension can use the Type property of the ChatAccessEntry object to quickly distinguish between network and server access entries.

See Also

Type


© 1998 Microsoft Corporation. All rights reserved.