AzureAD / azure-activedirectory-library-for-objc

The ADAL SDK for Objective C gives you the ability to add support for Work Accounts to your iOS and macOS applications with just a few lines of additional code. This SDK gives your application the full functionality of Microsoft Azure AD, including industry standard protocol support for OAuth2, Web API integration with user level consent, and two factor authentication support.
MIT License
177 stars 113 forks source link

Couldn't able to set label and protect file using "User-Defined" label (ad hoc) #1569

Closed sw-tt-rumitkkhakhi closed 3 years ago

sw-tt-rumitkkhakhi commented 3 years ago

When we are trying to set label and protect the file using "User Defined" label (ad hoc) but we are getting following error while protecting the file.

Label requires ad-hoc protection, but protection has not yet been set. Call FileHandler::SetProtection with ad-hoc protection settings before calling FileHandler::SetLabel

Please suggest us, how can we set label(of type "userdefined") on file and protect file using "User-Defined" label.

We are using C++ MIP SDK to achieve this.

Thanks

jasoncoolmax commented 3 years ago

Hi @sw-tt-rumitkkhakhi , ADAL doesn't handle anything related to label. I think probably you can try to post your question here. You can also try it here. I am not sure which one is the suitable repo.