System Value > Current User is null

  • 24 February 2022
  • 0 replies
  • 54 views

Userlevel 5
Badge +20
 

System Value > Current User is null

kbt134959

PRODUCT
K2 blackpearl 4.7
BASED ON
K2 blackpearl 4.7
TAGS
Active Directory
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

The Identity property for the user and was not correctly populated and shows System Value > Current User is null.

Symptoms

  • The Identity property for the user and was not correctly populated.

    eg. SELECT [Property] FROM [K2].[Identity].[Identity] WHERE [Name] = 'DENALLIXBob' 
     
    <properties xmlns="http://schemas.k2.com/identity/customProperties.xsd">
       <item name="Name" value="" />
       <item name="Description" value="" />
       <item name="Email" value="" />
       <item name="Manager" value="" />
    </properties>

     
  • Executing UMUser "GetUserDetails" method returns incomplete information.
  • The user is valid and details pertaining to the user can be retrieved using the AD User SmartObject.
  • Turning on verbose ADUM logging shows that the user is being translated to a computer object which shares the same name. Instructions on how to enable this logging option can be found on this KB article: https://help.k2.com/kb001286

Troubleshooting Steps

  1. Stop the K2 blackpearl service.
  2. Make a backup of the K2 database.
  3. Update the RoleInit value in [HostServer].[SecurityLabel] where SecurityLabelName = K2 to include TranslateWithDirectoryServices=False;

     

    <roleprovider>

     <init>ADCache=0;LDAPPath=LDAP://DC=DENALLIX,DC=COM;
    TranslateWithDirectoryServices=False;...</init>
    ...

    </roleprovider>

  4. Start the K2 blackpearl service.

 

Incorrectly editing the K2 database can result in system instability or failure. Before making any database changes, it is strongly recommended to make a backup of your database. Database changes should only be performed by database administrators or users with sufficient knowledge and experience with SQL server to apply these changes correctly. If you need assistance with implementing these changes, please log a Support Ticket with K2 Product Support.

Also see https://www.k2.com/onlinehelp/k2blackpearl/devref/current/default.htm#Database_Reference.html

 


0 replies

Be the first to reply!

Reply