共用方式為


DBPROP_INIT_IMPERSONATION_LEVEL

Property group: Initialization

Property set: DBPROPSET_DBINIT

Type: VT_I4

Typical R/W: R/W

Description: Impersonation Level

Indicates the level of impersonation that the server is allowed to use when impersonating the client. This property applies only to network connections other than Remote Procedure Call (RPC) connections; these impersonation levels are similar to those provided by RPC. One of the following:

  • DB_IMP_LEVEL_ANONYMOUS ? The client is anonymous to the server. The server process cannot obtain identification information about the client and cannot impersonate the client.

  • DB_IMP_LEVEL_IDENTIFY ? The server can obtain the client's identity. The server can impersonate the client for ACL checking but cannot access system objects as the client.

  • DB_IMP_LEVEL_IMPERSONATE ? The server process can impersonate the client's security context while acting on behalf of the client. This information is obtained when the connection is established, not on every call.

  • DB_IMP_LEVEL_DELEGATE ? The process can impersonate the client's security context while acting on behalf of the client. The server process can also make outgoing calls to other servers while acting on behalf of the client.

See Also

Reference

Properties (Alphabetical)