Skip to content

Commit

Permalink
style: add comments for groupmember parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
d-strobel committed Jan 5, 2024
1 parent 940aab6 commit 1d34fe5
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions windows/local/local_groupmember.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ type GroupMember struct {

// GroupMemberReadParams represent parameters for the GroupMemberRead function.
type GroupMemberReadParams struct {
Name string
SID string
// Specifies the name of the security group.
Name string

// Specifies the security ID of the security group.
SID string

// Specifies a user or group of the security group.
Member string
}

Expand Down Expand Up @@ -59,8 +64,11 @@ func (c *LocalClient) GroupMemberRead(ctx context.Context, params GroupMemberRea

// GroupMemberListParams represent parameters for the GroupMemberList function.
type GroupMemberListParams struct {
// Specifies the name of the security group.
Name string
SID string

// Specifies the security ID of the security group.
SID string
}

// GroupMemberList returns a list of members for a specific local Windows group.
Expand Down Expand Up @@ -98,8 +106,13 @@ func (c *LocalClient) GroupMemberList(ctx context.Context, params GroupMemberLis

// GroupMemberCreateParams represent parameters for the GroupMemberCreate function.
type GroupMemberCreateParams struct {
Name string
SID string
// Specifies the name of the security group.
Name string

// Specifies the security ID of the security group.
SID string

// Specifies a new user or group for the security group.
Member string
}

Expand Down Expand Up @@ -141,8 +154,13 @@ func (c *LocalClient) GroupMemberCreate(ctx context.Context, params GroupMemberC

// GroupMemberDeleteParams represent parameters for the GroupMemberDelete function.
type GroupMemberDeleteParams struct {
Name string
SID string
// Specifies the name of the security group.
Name string

// Specifies the security ID of the security group.
SID string

// Specifies a user or group of the security group.
Member string
}

Expand Down

0 comments on commit 1d34fe5

Please sign in to comment.