func (c *UpdateSpaceUsersCommand) Execute([]string) error {
	if cfMgmt, err := InitializePeekManagers(c.BaseCFConfigCommand, c.Peek); err == nil {
		if err := cfMgmt.UserManager.InitializeLdap(c.LdapUser, c.LdapPassword, c.LdapServer); err != nil {
			return err
		}
		defer cfMgmt.UserManager.DeinitializeLdap()
		return cfMgmt.UserManager.UpdateSpaceUsers()
	}
	return nil
}
func (c *UpdateSpaceUsersCommand) Execute([]string) error {
	if cfMgmt, err := InitializePeekManagers(c.BaseCFConfigCommand, c.Peek); err == nil {
		if err := cfMgmt.UserManager.InitializeLdap(c.LdapUser, c.LdapPassword, c.LdapServer); err != nil {
			return err
		}
		defer cfMgmt.UserManager.DeinitializeLdap()
		return cfMgmt.UserManager.UpdateSpaceUsers()
	}
	return nil
}
func ( c * UpdateSpaceUsersCommand ) Execute ( [ ] string ) error { if cfMgmt , err := InitializePeekManagers ( c . BaseCFConfigCommand , c . Peek ) ; err == nil { if err := cfMgmt . UserManager . InitializeLdap ( c . LdapUser , c . LdapPassword , c . LdapServer ) ; err != nil { return err } defer cfMgmt . UserManager . DeinitializeLdap ( ) return cfMgmt . UserManager . UpdateSpaceUsers ( ) } return nil }
//Execute - updates space users
Execute - updates space users