Skip to content

Commit 1f2089b

Browse files
authored
Check for either LAPS attribute
1 parent be5818e commit 1f2089b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/CommonLib/SearchResultEntryWrapper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,12 @@ public bool IsGMSA()
247247

248248
public bool HasLAPS()
249249
{
250-
return GetProperty(LDAPProperties.LAPSExpirationTime) != null;
250+
return GetProperty(LDAPProperties.LAPSExpirationTime) != null || GetProperty(LDAPProperties.LegacyLAPSExpirationTime) != null;
251251
}
252252

253253
public SearchResultEntry GetEntry()
254254
{
255255
return _entry;
256256
}
257257
}
258-
}
258+
}

0 commit comments

Comments
 (0)