Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Payments Namespace / PaymentMethod Class / UserHasAccess Method
The user to check payment method access for.
In This Topic
    UserHasAccess Method (PaymentMethod)
    In This Topic
    Indicates whether the specified user can access the payment method, taking group restrictions and user membership into account.
    Syntax
    public virtual bool UserHasAccess( 
       User user
    )

    Parameters

    user
    The user to check payment method access for.

    Return Value

    True if the user can access the method, 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