Cygwin: passwd/group: rename get_group_name to get_account_name
The function is the same for user and grou accounts. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -60,8 +60,7 @@ public:
|
||||
/* User only */
|
||||
gid_t get_primary_gid () { return get_num_attribute (L"primaryGroupID"); }
|
||||
gid_t get_unix_uid () { return get_num_attribute (L"uidNumber"); }
|
||||
/* group only */
|
||||
PWCHAR get_group_name ()
|
||||
PWCHAR get_account_name ()
|
||||
{ return get_string_attribute (L"sAMAccountName"); }
|
||||
gid_t get_unix_gid () { return get_num_attribute (L"gidNumber"); }
|
||||
};
|
||||
|
Reference in New Issue
Block a user