Ticket T698443
Visible to All Users

How to add a reference to a project

created 6 years ago

[DevExpress Support Team: CLONED FROM T698122: Add business objects from the non-XAF app to the TargetType List of the type permission object]
Thanks a lot. So far it seems to work.

I'm trying to get the ".IsGranted" Property now.
(sorry for all those questions I'm quite new to this framework)
What I did before was using AthenticationStandard and SecurityStrategyComplex as described in How to: Use the Integrated Mode of the Security System in Non-XAF Applications to perform a logon.

The problem now is that it doesn't seem to work in my new application. It won't accept the classes from DevExpress.ExpressApp.Security. (Screenshot attached)

Maybe you guys have an idea what the problem could be. Thanks again and have a great weekend.

Best regards,
Christian

Answers approved by DevExpress Support

created 6 years ago

Hello,

This a common .NET error not related to XAF (or DevExpress). It means that VS can't access the class that you typed. Refer to the Compiler Error CS0246 | Microsoft Docs article to learn how to overcome this issue.

Thanks,
Andrey

    Comments (1)
    Andrey K (DevExpress Support) 6 years ago

      You can find these classes in the 'DevExpress.ExpressApp.Security.v18.1.dll' library. The full namespaces are:
      DevExpress.ExpressApp.Security.AuthenticationStandard
      DevExpress.ExpressApp.Security.AuthenticationStandardLogonParameters
      DevExpress.ExpressApp.Security.ClientServer.SecuredObjectSpaceProvider

      Let me know if you need any further assistance.

      Thanks,
      Andrey

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.