Location: Symbol Reference > Classes > TJwComProcessSecurity Class > TJwComProcessSecurity Methods > Initialize Method > TJwComProcessSecurity.Initialize Method (IAccessControl, TJwComAuthenticationLevel, TJwComImpersonationLevel, TJwComAuthenticationCapabilities)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwComProcessSecurity.Initialize Method (IAccessControl, TJwComAuthenticationLevel, TJwComImpersonationLevel, TJwComAuthenticationCapabilities)
Pascal
class procedure Initialize(AccessControl: IAccessControl; AuthenticationLevel: TJwComAuthenticationLevel; ImpersonationLevel: TJwComImpersonationLevel; Capabilities: TJwComAuthenticationCapabilities); virtual; overload;

Initialize initializes the process wide security settings for a server process using CoInitializeSecurity and a security descriptor.

Exceptions 
Description 
This exception will be raised if AuthenticationLevel is calNone 
This exception will be raised if a security descriptor is supplied which does not allow SYSTEM full access. COM cannot work then. 
This exception will be raised if IgnoreProcess is true and the current process' name can be found in global variable JwKnownComHostProcesses. This exception can be disabled by setting JwIgnoreHostProcessesInServer to false. 
CoInitialize was not called or CoInitializeSecurity was already called. You need to call CoInitialize first or call CoUnitialize, CoInitialize and then again this method. 
CoInitializeSecurity reported an error. 
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!