bool CanUserDeleteSubscribe( int ID, array arUserGroups, int iUserID );
Thoroughly checks whether a user of a specified group can unsubscribe from the specified forum.
Parameter | Description |
---|---|
ID | The ID of the subscription from which a user wants to unsubscribe. |
arUserGroups |
Array of groups that the user is member of. For the current user, you
can obtain this array by calling $USER->GetUserGroupArray() .
|
iUserID |
The user ID. For the current user, you can obtain it by calling $USER->GetID() .
|
Returns true is the user can unsubscribe, or false otherwise.
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |