Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Error in TrustedLogin
saravanakumar38
Hi,
when i try to login into the interwoven server using trusted login, i am getting
"[NRTSession ][TrustedLogin ]This operation is currently not available (0x8004012e)" error. I was able to get the identify from the HttpContext
Code:
m_Session = Dms.Sessions.Add("serverName")
m_Session.TrustedLogin2("accessToken of the user")
can any one help on this to resolve this issue?
Find more posts tagged with
Comments
mlf
Does this help you any?
From the SDK:
"TrustedLogin provides pass-through login of the current Windows user into WorkSite. TrustedLogin will only work when the Trusted Logon option is enabled on the WorkSite Server. The logged-in user on the network operating system must be valid user on the database and must not be an external or virtual user."
// mySess is a valid IManSession object.
int intUserToken
= System.Security.Principal.WindowsIdentity.GetCurrent().Token.ToInt32();
mySess.TrustedLogin2(intUserToken);