To help you better we need some information from you.
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build: 5.8.218
Operating system: Windows 11
PowerShell version(s): 5.1.22621.963
*** Please add details and screenshots as needed below. ***
GetPasswordString() is returning a null or length 0 error. On testing is seems like there is a password length limit of 251 characters. Anything over that results in a null password object.
Steps to reproduce:
set user/password in Script Packager
enter password string over 251 characters then try to access the password via $SAPIENHost.GetPasswordString(0)
DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
GetPasswordString() Null error
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
-
- Posts: 3
- Last visit: Wed Jan 31, 2024 4:34 pm
- Has voted: 1 time
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Re: GetPasswordString() Null error
Yes, the buffer length to write and read stored passwords is limited to about that size.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.