如何创建默认的Communicator / Live Meeting凭据以与AutoSignIn一起使用 [英] How to create default Communicator/Live Meeting credentials to use with AutoSignIn

查看:55
本文介绍了如何创建默认的Communicator / Live Meeting凭据以与AutoSignIn一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要以编程方式创建"默认" Communicator和Live Meeting用于登录的凭据。 Communicator在调用AutoSignIn API方法时使用这些。我想在UCCAPI中使用CreateCredentials方法会有效吗?如果没有,是否有更好的方法?

最重要的是我需要以编程方式更改上次登录的用户名/密码。我怎么能这样做?

解决方案

是的,您将不得不使用:CredentialCache.DefaultCredential。请查看以下链接和代码部分:

http://msdn.microsoft。 com / zh-CN / library / cc667587.aspx


UccCredential凭证= null ;
if (userName == null || password == null || domain == null
{
if (! ._ uccSignalingSettings.CredentialCache.TryGetCredential(的 <跨度风格= "颜色:栗色">" SIP通信服务" ,out凭证))
凭证= ._ uccSignalingSettings.CredentialCache.DefaultCredential;
} else
{{credential = ._uccSignalingSettings.CredentialCache.CreateCredential(userName,password,domain);
祝你回答你的问题。

谢谢,
Ramesh

I need to programmatically create the "default" credentials used by Communicator and Live Meeting to login with.  Communicator uses these when the AutoSignIn API method is called.  I was thinking of using the CreateCredentials method in UCCAPI will this work?  If not, is there a better way?

The bottom line is that I need to programmatically change the last signed-in username/password.  How can I do this?

解决方案

Yes, you will have to use: CredentialCache.DefaultCredential. Check the following link and code section:

http://msdn.microsoft.com/en-us/library/cc667587.aspx


UccCredential credential = null;
            if (userName == null || password == null || domain == null)
            {
                if (!this._uccSignalingSettings.CredentialCache.TryGetCredential("SIP Communications Service", out credential))
                        credential = this._uccSignalingSettings.CredentialCache.DefaultCredential;
            }
            else
            {
                credential = this._uccSignalingSettings.CredentialCache.CreateCredential(userName, password, domain);
            }

Hope this answers your question.

Thanks,
Ramesh


这篇关于如何创建默认的Communicator / Live Meeting凭据以与AutoSignIn一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆