K2 BLACKPEARL PRODUCT DOCUMENTATION: USER GUIDE
Configure Out of Office

Configure Out of Office

When configured for AD, the Out of Office service performs its required method calls using the Application Pool identity, which gives the system the elevated user rights to perform the Management API call for OOF. When a non-AD user manager is configured, the resources that are available when Active Directory is used are no longer available. The default label as the Application Pool account user is not an AD user and there are no administration credentials stored and it must be embedded in the connection string.

Enter a new connection string

A new connection string must be added to the Workspace web.config configuration file. Once the entry has been updated, the connection string can be encrypted for security purposes.

Copy Updated Connection String
<add name="WorkflowManagementAdminConnectionString" connectionString="IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Integrated=False;Host=localhost;Port=5555;UserID=k2;Password=k2; SecurityLabelName=[K2SQL]" />
The SecurityLabelName in the connection string is the SQL user manager name. Substitute the placeholder value [K2SQL] with the correct value for your system, for example DenallixPartners.

Encrypt the Connection String

The following command is run from the command prompt and is used to encrypt the connection string that was updated in the section above. It will update the web.config file with encrypted information.

Copy Encryption Command
"%WinDir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe" -pe "connectionStrings" -app "[WorkspaceVirtualDirectoryPath]" -site "[WorkspaceSiteNameOrID]"
Tagged Definitions
[WorkspaceVirtualDirectoryPath] The virtual directory path you specified on installation for example:”\Workspace”
[WorkspaceSiteNameOrID] The virtual directory path you specified on installation for example:”K2”

Decrypt the Connection String

If settings need to be changed and the Workspace web.config  file must be amended, use the following command to decrypt the connection string. Performed similar to the encryption command, replace –pe with –pd in the encryption command.

Copy Decryption Command
"%WinDir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe" -pd "connectionStrings" -app "[WorkspaceVirtualDirectoryPath]" -site "[WorkspaceSiteNameOrID]"

Additional Information

For further information on encrypting and decrypting connection strings, see the following resource
http://msdn.microsoft.com/en-us/library/ms998283.aspx

 

 


K2 blackpearl Help 4.6.11 (4.12060.1731.0)