Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3434070
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:39:12+00:00 2026-05-18T07:39:12+00:00

I have a question regarding SharePoint permission masks. In SharePoint it is possible to

  • 0

I have a question regarding SharePoint permission masks. In SharePoint it is possible to set the grant/deny rights using masks. Details are given the following article.

http://msdn.microsoft.com/en-us/library/dd304243(PROT.13).aspx

My question is when we have a permission/deny mask.

For example if you deny “ViewItem” permission using the central-admin, you will get 4611686844973976575 as the deny mask. This permission masks is computed by aping | to several individual permission masks.

So is it possible to extract individual permission masks which are used to calculate permission mask such as 4611686844973976575?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T07:39:12+00:00Added an answer on May 18, 2026 at 7:39 am

    If you do a logical AND operation on a value such as 0x0000000000000001 for “ViewListItems” which is contained in the mask, then you will get the value itself (or 1). If you do a logical AND on a value not in that mask, like the “UseClientIntegration” value of 0x0000001000000000, then you will get a zero (0). This is something you can even test via the scientific mode of the Windows calculator app — perhaps first converting the mask to hex, such as taking your example of 4611686844973976575 from base 10 to 400000C072040BFF in hex (base 16).

    To extract all values from the mask, you would have to test the initial value against all possible values. If all known permission values are documented on that page, then the answer to your question is yes. I don’t know which language you may want to accomplish this, but the basic idea in C# is:

    bool CheckMask( long Mask, long TestPermission ) {
        return (Mask && TestPermission) > 0;
    }
    
    long mask = 4611686844973976575;
    
    const long ViewListItems = 0x0000000000000001;
    bool HasPermission_ViewListItems = CheckMask(mask, ViewListItems);
    // HasPermission_ViewListItems is true
    
    const long UseClientIntegration = 0x0000001000000000;
    bool HasPermission_UseClientIntegration = CheckMask(mask, UseClientIntegration);
    // HasPermission_UseClientIntegration is false
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to SharePoint and have a general question regarding list comparison. Currently, there
I have a question regarding the best practise of handling formated text when using
I have a question regarding a race condition scenario. The question: Consider the following
I have question regarding shared memory segmentation in c using POSIX system calls. Is
I have a question regarding calling methods from different threads. Well I am using
I have question regarding about finding subview using '.tags' in one UIView. for (UIView
I have a question regarding CSS in Firefox. If i set a width of
I have a question regarding Sharepoint 2010 server licenses, The site I'm trying to
I have a question regarding the execution of the following program. #include<stdio.h> int main(void)
I have question regarding the SQLAlchemy. How can I add into my mapped class

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.