public static extern RPC_STATUS RpcBindingInqAuthInfo( IntPtr Binding, StringBuilder ServerPrincName, ref RPC_C_AUTHN_LEVEL AuthnLevel, ref RPC_C_AUTHN AuthnSvc, ref IntPtr AuthIdentity, ref RPC_C_AUTHZ AuthzSvc);
public static extern RPC_STATUS RpcBindingInqAuthClient( IntPtr ClientBinding, ref IntPtr Privs, StringBuilder ServerPrincName, ref RPC_C_AUTHN_LEVEL AuthnLevel, ref RPC_C_AUTHN AuthnSvc, ref RPC_C_AUTHZ AuthzSvc);
public static extern RPC_STATUS RpcBindingSetAuthInfo2(IntPtr Binding, String ServerPrincName, RPC_C_AUTHN_LEVEL AuthnLevel, RPC_C_AUTHN AuthnSvc, IntPtr p, RPC_C_AUTHZ AuthzService);
public static extern RPC_STATUS RpcBindingSetAuthInfo(IntPtr Binding, String ServerPrincName, RPC_C_AUTHN_LEVEL AuthnLevel, RPC_C_AUTHN AuthnSvc, [In] ref SEC_WINNT_AUTH_IDENTITY AuthIdentity, RPC_C_AUTHZ AuthzService);