From: Andrew Barringer Date: 2009-01-29T06:21:06+09:00 Subject: Bitwise question ------_=_NextPart_001_01C9818C.FAC0C505 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm working on a project that has a bitmap of permissions and I need to find out if a user has access.=20 =20 Given permissions bit mask of 0001C0200F02000000000 where each bit represents a specific permission =20 And a request for permissions check on bits [37, 12, 48] =20 What's the best way to find out if user has access to all requested permissions? ------_=_NextPart_001_01C9818C.FAC0C505--