Location: Symbol Reference > Classes > TJwSecurityToken Class > TJwSecurityToken.CreateLogonUser Constructor
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityToken.CreateLogonUser Constructor
Pascal
constructor CreateLogonUser(sUsername: TJwString; sDomain: TJwString; sPassword: TJwString; dwLogonType: cardinal; dwLogonProvider: cardinal); virtual; overload;

Please refer to the MSDN documentation : http://msdn.microsoft.com/en-us/library/aa378184%28VS.85%29.aspx

LOGON32_LOGON_INTERACTIVE cannot be used in all cases if the token is used by a COM client to impersonate a COM call. You should use LOGON32_LOGON_BATCH if you need to create a COM server with the identity of the logon user token; otherwise the server may fail to start. (An out of process COM server is started if the first class is created.)

Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!