News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Advertisement

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;
[ServiceContract]
public interface IOrderProcessing
{
[OperationContract]
void ApproveOrder(int id);
}

You need to ensure that only users with the Manager role can call the ApproveOrder method What should you do?

  1. In the method body, check the Rights PosessesProperty property to see if it contains Manager

  2. Add a PrincipalPermission attribute to the method and set the Roles property to Manager

  3. Add a SecurityPermission attribute to the method and set the SecurityAction to Demand.

  4. In the method body, create a new instance of WindowsClaimSet. Use the FindClaims method to locate a claimType named Roee with a right named Manager

Answer: Answer is b
comments powered by Disqus
Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;