-
January 20th, 2004, 03:49 AM
#1
How to get "password policy requirement"?
How to get "password policy requirement" for local computer, not for domain?
Can anybody help?
-
January 20th, 2004, 04:09 AM
#2
Re: How to get "password policy requirement"?
Originally posted by Aleksan
How to get "password policy requirement" for local computer, not for domain?
Can anybody help?
NetQueryDisplayInformation(...) passing level 2 for NET_DISPLAY_MACHINE and null for the local computer name. You can look it up on msdn.microsoft.com
if I understand what you want correctly.
there may be an active directory equiv also.
-
January 20th, 2004, 04:37 AM
#3
It is not exactly what i want to known.
I need
MinPasswordLength and PASSWORD_COMPLEX information
................................................
PASSWORD_COMPLEX:
The password must have a mix of at least two of the following types of characters:
- Upper case characters
- Lower case characters
- Numerals
-
January 20th, 2004, 04:48 AM
#4
-
January 20th, 2004, 04:57 AM
#5
Requires Windows Server 2003 ((:
This function for Windows Server 2003.
...............................................
Requirements
Server: Requires Windows Server 2003.
Header: Declared in Lmaccess.h; include Lm.h.
Library: Use Netapi32.lib.
...............................................................
I need for Windows 2000 and Windows XP
-
January 22nd, 2004, 06:55 AM
#6
Originally posted by Aleksan
It is not exactly what i want to known.
I need
MinPasswordLength and PASSWORD_COMPLEX information
................................................
PASSWORD_COMPLEX:
The password must have a mix of at least two of the following types of characters:
- Upper case characters
- Lower case characters
- Numerals
If this is what you're looking for,
I think MinPasswordLength is a server object's property
that specifies the minimum allowable password length
PHP Code:
if (str.size()<MinPasswordLength(MySir)){
std::cout<<"Short Password"<<std::endl;
MySir = YourSir;
}
and the other one, I don't know
Regards,
-Vu
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|