Current filter:
                                You should refresh the page.
                                • Roman P (DevExpress) 08.16.2011

                                  We have introduced a new IsCurrentUserInRole(userName) custom function operator. It determines whether or not the currently logged on user is assigned a specified role. If there is no currently logged on user, an exception is thrown. This custom function criteria operator is registered in the XafApplication.LoggedOn even handler by the SecurityModule if SecuritySystem.CurrentUser implements the IUserWithRoles interface. The Evaluate method of this operator casts the SecuritySystem.CurrentUser property value to the IUserWithRoles interface and checks that its Roles collection contains the specified role.
                                  Sample usage:
                                  Roman P

                                0 Solutions

                                Creation Date Importance Sort by