Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Marketing Namespace / CouponCalculator Class / IsUserInGroup Method
The user to check for
The coupon groups to look into
In This Topic
    IsUserInGroup Method
    In This Topic
    Checks whether the given user is in any of the coupon groups specified
    Syntax
    protected bool IsUserInGroup( 
       User user,
       IList<Group> groups
    )

    Parameters

    user
    The user to check for
    groups
    The coupon groups to look into

    Return Value

    true if user is member of any of the specified coupon groups, false otherwise
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also