ServiceAuthorizationBehaviorServiceAuthorizationBehavior

ServiceAuthorizationBehaviorServiceAuthorizationBehavior

语法Syntax

class ServiceAuthorizationBehavior : Behavior  
{  
  boolean ImpersonateCallerForAllOperations;  
  string PrincipalPermissionMode;  
  string RoleProvider;  
  string ServiceAuthorizationManager;  
};  

方法Methods

ServiceAuthorizationBehavior 类未定义任何方法。The ServiceAuthorizationBehavior class does not define any methods.

属性Properties

ServiceAuthorizationBehavior 类具有下列属性:The ServiceAuthorizationBehavior class has the following properties:

ImpersonateCallerForAllOperationsImpersonateCallerForAllOperations

数据类型:BooleanData type: boolean

访问类型:只读Access type: Read-only

一个值,控制服务是否尝试使用传入消息所提供的凭据进行模拟。A value that controls whether the service attempts to impersonate using the credentials provided by the incoming message.

PrincipalPermissionModePrincipalPermissionMode

数据类型:StringData type: string

访问类型:只读Access type: Read-only

用于在服务器上执行操作的主体。The principal used to carry out operations on the server.

RoleProviderRoleProvider

数据类型:StringData type: string

访问类型:只读Access type: Read-only

ASP.NET 角色提供程序的名称。The name of the ASP.NET role provider.

ServiceAuthorizationManagerServiceAuthorizationManager

数据类型:StringData type: string

访问类型:只读Access type: Read-only

用于自定义授权的授权管理器。The authorization manager used for custom authorization.

要求Requirements

MOFMOF 已在 Servicemodel.mof 中声明。Declared in Servicemodel.mof.
命名空间Namespace 已在 root\ServiceModel 中定义Defined in root\ServiceModel

请参阅See also